Skip to content

#368 - yaml_writer: create the parent directory for a local path only - #375

Merged
njoubert-cleverage merged 2 commits into
mainfrom
368
Oct 23, 2026
Merged

njoubert-cleverage merged 2 commits into
mainfrom
368

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #368.

Regression of 5.5 (#345): YamlWriterTask (yaml_writer) created the parent directory of file_path without condition. That failed for a stream wrapper path (compress.zlib://, s3://...) and created a php: directory for php://stdout. The directory is now created for a local path only (no scheme, or file://).

Requirements

  • Documentation updates
    • Reference
    • Cookbooks
    • Changelog
  • Unit tests

Breaking changes

None: only paths with a scheme change, they failed (or created a stray directory) since 5.5.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@njoubert-cleverage
njoubert-cleverage requested a review from a team as a code owner October 23, 2026 14:39
@njoubert-cleverage
njoubert-cleverage merged commit a2205cd into main Oct 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

yaml_writer: the parent directory is created without condition, a stream wrapper path fails

1 participant