Repository navigation
Close the Docker Task Workflow Test's Five Undetected Shapes - #3281
Conversation
Pin the credential check's || operator, the login step's input wiring and registry, compact and flow-style YAML, and run steps that push. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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
Fix the escaped dollar signs so credential checks match the workflow correctly.
1 open issue
What changed in this PR
This PR extends the standard-library Docker workflow reader and adds mutation-proof tests for previously undetected workflow shapes.
Changes:
- Parses compact steps and flow-style mappings.
- Validates credentials, login wiring, registries, and push commands.
- Adds regression coverage for each supported shape.
| File | Description |
|---|---|
tests/test_docker_task_workflow.py |
Extends workflow parsing and regression tests. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3281 +/- ##
========================================
Coverage 65.49% 65.49%
========================================
Files 17 17
Lines 10011 10011
========================================
Hits 6557 6557
Misses 3454 3454
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:
|
## Summary Promotes these pull requests from develop. - [#3281](#3281): closes the five shapes the Docker task workflow test left undetected. - [#3279](#3279): notes that a multi-target dispatch bypass must force the `enable_*` inputs on. - [#3283](#3283): the write guard reads owner flags, issue links, and run-time paths. Closes #3165 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Closes #3159.
The test reader now detects the five shapes: the credential check's
||operator, the login step's username and password wiring and registry, compact YAML with steps at thesteps:indent, flow-stylewith:mappings, andrun:steps that push. PyYAML is not guaranteed in the CI test job, which runs plainpython -m unittest, so the stdlib reader was extended instead of adding a dependency.Each new case carries its own in-file mutation proof, and each caught-defect case was confirmed to fail against the previous reader.
Two local review passes found further reader limits. They are filed as #3280 and not fixed here.
🤖 Generated with Claude Code