Repository navigation
Fix and Pin the Docker Task Workflow Test Reader's Limits - #3296
Conversation
Read a step whose first key is run or uses, docker global options before the subcommand, a with child indented deeper than ten spaces, and --push=false. End a run script at its first dedent. Pin the remaining false negatives and positives as known-limit cases. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Prove the first-key uses fix with a hook step, fail instead of skip when the inverted check mutation does not apply, and pin the echo-held check tests. List the further limits the review found. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Drop a hook case that passed without the fix, pin the missed push forms and the push false input, and state which limits have no case. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🟡 Changes recommended
Several documented parser limits still lack dedicated regression coverage.
1 open issue
What changed in this PR
Updates the stdlib-only Docker workflow reader and expands regression coverage for parser fixes and known limitations.
Changes:
- Handles compact steps, Docker options, indentation, push flags, and script boundaries.
- Adds tests documenting remaining parsing limits.
- Keeps the reader dependency-free.
| File | Description |
|---|---|
tests/test_docker_task_workflow.py |
Updates reader logic and expands regression and known-limit coverage. |
Review effort: Lite
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3296 +/- ##
==========================================
Coverage ? 65.49%
==========================================
Files ? 17
Lines ? 10011
Branches ? 0
==========================================
Hits ? 6557
Misses ? 3454
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
A recorded local strict-review pass covers head |
…ixes to Main (#3299) ## Summary Promotes these pull requests from develop. - [#3297](#3297): the write guard fails closed on an unread write target when no origin resolves. - [#3296](#3296): fixes and pins the Docker task workflow test reader's known limits. - [#3295](#3295): corrects the smoke stub's `enable_*` description in the caller-stub paragraph. - [#3293](#3293): carries a command the user must run inside the prompt's own question. - [#3291](#3291): matches session-handoff's platform-lane exception to the fix-and-verify rule. Closes #3288 Closes #3280 Closes #3282 Closes #3284 Closes #3275 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Summary
Closes #3280
The stdlib-only reader in
tests/test_docker_task_workflow.pynow closes the limits that need a small change and pins the rest.Fixed, each with a case that fails on the old reader:
run:oruses:.with:child indented deeper than ten spaces.--push=falseand--push=0no longer count as a push.runscript ends at its first dedent, so a laterenv:value is not read as script.Pinned as known limits in
KnownLimitsCase, each asserting the current behavior: heredoc, quoted separator, and trailing comment pushes, atype=registrycache source, folded and plain multi-linerun, a multi-line flowwith, a block-scalar login value, an inverted credential check, a check held in an echo, other missed push forms, andwith: push: false.Two limits are listed in the header without a case: a bare
-sequence item and a shallowrunbody. The header lists every remaining limit.No YAML dependency is added.
🤖 Generated with Claude Code