Repository navigation
Conversation
* Run CI on pull requests with the hub's paths filter Move test-pull-request.yml from push to the hub's pull_request trigger, and gate the smoke build on a paths filter over the image, so a docs-only or workflow-only pull request skips it per D1.1 and D1.4. The validate hook's compile gate now diffs the test merge commit against its first parent, which keeps a later docs-only push from retiring a compile test. WORKFLOW.md section 7 drops the push-only deviation record. Closes #328 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Correct the hub pin bump coverage claim and drop a dead guard The compile test runs the docker-prepare hook under a bumped validate task, but the bumped build-release task first calls it at the next publish, which is the cost D1.4 accepts. The merge-commit guard in the compile gate checked a shape a pull_request run cannot produce. Split the long sentences this change wrote. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Name the one bumped task a pin bump exercises before merge The compile test runs under the bumped validate task only, so the two remaining "new tasks" claims now say so, and OPERATIONS.md lists the bumped release task among what pull request CI cannot reach, with the dispatch that forces the smoke build. The diff fallback after a successful depth-2 fetch was unreachable and is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Count both sides of a rename in the compile gate git diff detects renames by default and names only the destination, so moving a compile input out of a gated path skipped the compile test. Pass --no-renames, and say that only a failed history fetch compiles unconditionally. The dispatch that forces a smoke build on a hub pin bump now disables the merge-bot's auto-merge first, and the hook's header comment gets its verb back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Dispatch on the merged branch to smoke-build a hub pin bump The merge-bot auto-merges a Dependabot pin bump and deletes its branch, so a dispatch on the bump's branch usually comes too late. A dispatch on the branch it merged into always smoke-builds instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Bound the bumped release task's first hook run by the next publish An image-touching pull request between a hub pin bump and the next publish, such as the tracker's upstream-version bump, smoke-builds under the bumped pin first, so the next publish is the upper bound rather than the first run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * State only what a workflow-only pin bump skips The timing bounds for the bumped release task's first run kept depending on which branch and which pull request came next. Say what holds regardless: a workflow-only bump's own pull request never runs the bumped build-release-task.yml, and a dispatch on the branch it merged into does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Scope the workflow-only pin bump sentence to workflow files Dependabot's actions-deps group can carry a pin bump inside a composite action beside the hub pin, which the paths filter marks, so only a bump touching workflow files alone skips the smoke build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Name the gated stubs by the tasks they pin Four stubs carry the hub pin, and the compile gate names the two that pin the validate and release tasks, so "both hub-pinned stubs" and "the two stubs carrying the hub pin" miscounted. The smoke build also runs on every dispatch, which the section 7 workflow bullet now says. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Warn that a dispatch lands on an open pull request's check A dispatch posts the required check on the branch head without the prose gate, so it also answers any open pull request headed by that branch. Name the hub issue tracking it, and list the repo gate in the docs-only scenario's expected output. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * State the dispatch constraint instead of citing an issue The prose gate refuses an issue reference in docs, so say what the dispatch does to an open pull request's check in place of the link. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Correct three claims about the gates each run carries The pull request leg adds the prose gate and change-gates the compile test, so it is not identical to the publish gate. A dispatch and a pull request run share one required check, and the last to finish decides it. A fork smoke build fails on missing credentials wherever the paths filter marks the image, not only on image paths. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
There was a problem hiding this comment.
🟡 Changes recommended
The workflow contains unresolved critical and moderate issues affecting required pull-request checks and manual dispatches.
1 open issue
What changed in this PR
This pull request promotes the pull-request CI and documentation changes from develop to main, adding paths-filtered smoke builds and updating compile-gate behavior.
Changes:
- Runs validation for pull requests targeting
mainordevelop, with manual dispatch support. - Gates smoke builds on relevant path changes and updates the required status aggregator.
- Compares the pull-request merge commit with its first parent for compile validation.
- Updates workflow and operations documentation for the new CI model and its limitations.
| File | Reviewed changes and final comments |
|---|---|
WORKFLOW.md |
Documents the pull-request trigger, paths filter, compile gate, and updated scenarios. Nit (1 vote): Narrow the Dependabot credential explanation to pull requests whose changed paths select the smoke build. |
OPERATIONS.md |
Updates local verification guidance and documents pull-request CI limitations, including the bumped release task. No final comments. |
.github/workflows/test-pull-request.yml |
Adds pull-request triggers, change detection, conditional smoke builds, and aggregation. Critical (2 votes): Prevent manual dispatch runs from satisfying the required PR check. Moderate (1 vote): Ensure the changes job succeeds on manual dispatches. |
.github/workflows/publish-release.yml |
Updates the validation workflow comment for the new pull-request CI model. No final comments. |
.github/actions/validate/action.yml |
Changes compile-gate diffing to inspect the pull-request merge commit against its first parent. No final comments. |
Review effort: Lite
|
Outcomes for the two findings Copilot's review body raised without a thread:
|

Summary
Promotes #332 from
developtomain.test-pull-request.ymlruns onpull_requestintomainordevelopplusworkflow_dispatch, in the hub smoke stub's shape, with achangespaths filter gating the smoke build. The hub's prose gate now runs on every pull request.validatehook's compile gate diffs the test merge commit against its first parent with--no-renames.WORKFLOW.mdsection 7 drops the push-only S2/S3 deviation, andOPERATIONS.mdadds the bumped release task to what pull request CI cannot exercise.This promotion is itself the first pull request into
mainunder the new trigger.Closes #328
🤖 Generated with Claude Code
Summary by CodeRabbit
mainordevelop, with manual runs still available.