Skip to content

Run the Pull Request Workflow on pull_request and Filter the Smoke Build - #197

Merged
ptr727 merged 8 commits into
developfrom
resync-pr-workflow-trigger
Nov 9, 2026
Merged

ptr727 merged 8 commits into
developfrom
resync-pr-workflow-trigger

Conversation

@ptr727

@ptr727 ptr727 commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Summary

Step 4 of the hub resync (audit run 2026-11-09T16:23:10Z | hub c175d557): the PR workflow's interface, brought to hub WORKFLOW.md D1.1, D1.4, and D1.5, as the maintainer chose on 2026-11-09.

  • D1.5. test-pull-request.yml now triggers on pull_request and workflow_dispatch, replacing push on every branch. The always-run aggregator takes the hub snippet's expression name, so only a pull_request run posts the ruleset-bound Check pull request workflow status job. A dispatch posts Check workflow status job. This closes the audit's interface finding.
  • D1.1 and D1.4. A changes job (dorny/paths-filter) marks the one image target from Docker/Dockerfile and version.json. The Dockerfile copies nothing from the tree. The smoke build runs on that target or a dispatch, and the aggregator passes a skipped smoke build while still blocking on failure or cancellation. This was pre-existing drift the audit does not mechanize.
  • The smoke build's branch: input reads github.base_ref || github.ref_name, as the snippet does. The !github.event.deleted guards are gone, since neither event carries the field.
  • OPERATIONS.md describes the new trigger, the filter, and what a pull request does and does not prove.

Merge Order

Merge this first. #196 carries the D1.5 text this workflow now satisfies, and #195 depends on #196.

Local Findings, All Fixed

Every finding the local strict-review passes raised is fixed:

  • The pin-bump comment and the dispatch instruction, fixed in 6d03623, 7f7cb9d, 1a5c7c1, and 6c64061. A dispatch cannot hold a Dependabot auto-merge, so it is a check run on the base branch after the merge.
  • The local prose gate, fixed in 6d03623, 7f7cb9d, 1a5c7c1, and 6c64061. It is now documented, scoped to the merge base, run at the pinned hub commit, and covers the comments label for an added or edited comment.
  • The filter target, narrowed from Docker/** to Docker/Dockerfile in 1a5c7c1, since Docker/README.md is the Docker Hub overview the image never reads.

The pass over 6c64061 found nothing.

Declined

  • A retargeted pull request keeps the check result from its old base, since the default activity types leave out edited. Declined under GOVERNANCE.md "Trust Boundaries and Hardening Effort": retargeting is a maintainer action, the fleet flow never retargets, and the hub snippet has the same shape.

Carries the comments label for the added workflow comment lines.

Verification

  • actionlint, markdownlint, and the hub-main prose gate with --allow-comments: 0 findings.
  • Local strict review (frontier tier), three passes, with two rounds of edits answering them. The open findings above are from the third pass.

🤖 Generated with Claude Code

ptr727 and others added 4 commits November 9, 2026 08:33
…the Required Check

WORKFLOW.md D1.5 requires the ruleset-bound aggregator name to be posted
only by a pull_request run. The workflow triggered on push to every
branch, so any push, or a dispatch on a PR's head, posted the required
context. Trigger on pull_request and workflow_dispatch, give the
aggregator the conditional name from the hub snippet, read the logical
branch from base_ref, and drop the branch-deletion guards a
pull_request run never needs. The smoke build stays unfiltered.
OPERATIONS.md describes the new trigger.

Audit run 2026-11-09T16:23:10Z | hub c175d557.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
WORKFLOW.md D1.1 requires a paths-filter entry per target, and D1.4
leaves a workflow-only pull request unbuilt. Add the hub snippet's
changes job, listing Docker/**, .dockerignore, and version.json as the
one image target, gate the smoke build on it or a dispatch, and let
the aggregator pass a skipped smoke build while blocking on failure or
cancellation. OPERATIONS.md now says the smoke build runs on such a
pull request rather than on every push.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Dockerfile copies nothing from the tree, so .dockerignore cannot
change the image and its filter entry rested on a false reason.
OPERATIONS.md's "What CI cannot exercise" now says only a pull request
changing the image's inputs is smoke-built, and that a hub pin bump is
not, so dispatch the workflow where one could change the build.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ptr727 ptr727 added the comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses label Nov 9, 2026
Copilot AI lite review requested due to automatic review settings November 9, 2026 16:56
@ptr727

ptr727 commented Nov 9, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 59d64177fd7bec15c6cc95f32d1b37f87c7664bb, the content this pull request carries at that commit against develop, and it recorded 2 findings.

@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 4c8dc56 and 6c64061.

Files selected for processing: 2

  • .github/workflows/test-pull-request.yml
  • OPERATIONS.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved workflow and documentation gaps can leave label changes and Dependabot hub-pin updates unvalidated while the local verification checklist omits the required prose gate.

4 open issues
What changed in this PR

This pull request updates CI to validate pull requests directly, conditionally run Docker smoke builds for relevant image changes, and document the new workflow behavior.

Changes:

  • Replaces branch-push triggering with pull_request and workflow_dispatch.
  • Adds path filtering for Docker/** and version.json, conditional smoke builds, and event-specific status aggregation.
  • Documents CI triggers, smoke-build scope, dispatch behavior, and validation limitations.
  • Unresolved review items remain regarding label-triggered reruns, prose-gate documentation, manual-dispatch wording, and hub pin-change coverage.
File Summary
OPERATIONS.md Documents local verification, pull-request CI behavior, smoke-build limitations, and workflow usage.
.github/​workflows/​test-pull-request.yml Defines pull-request and manual triggers, changed-path filtering, conditional Docker smoke builds, and status aggregation.

This pull request requires changes.

Review effort: Lite

Comment thread .github/workflows/test-pull-request.yml Resolved
Comment thread .github/workflows/test-pull-request.yml Resolved
Comment thread OPERATIONS.md Resolved
Comment thread OPERATIONS.md Resolved
ptr727 and others added 3 commits November 9, 2026 09:15
A hub pin bump changes the build path, and D1.4 leaves it unbuilt, so
the workflow comment and OPERATIONS.md now say the next publish run is
its first build instead of prescribing a dispatch Dependabot's
auto-merge skips. Local Verification gains the hub prose gate CI now
runs on every pull request, the comments label it reads live, and the
re-run that picks up a label added late.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The publisher's schedule builds main only, so a develop pin bump is
first built by a dispatch rather than the next publish run. The local
prose gate takes the merge base, the scope CI reads, rather than the
develop tip. Only a fork pull request that changes the image reaches the
Docker Hub login, so only that kind needs an in-repo branch.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Docker/** also matched Docker/README.md, the Docker Hub overview the
image never reads, so a docs-only change ran the smoke build. Name
Docker/Dockerfile instead. Replace the claim about which run first
builds a new hub pin with the dispatch that does, and say the comments
label covers an edited comment as well as an added one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ptr727

ptr727 commented Nov 9, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 1a5c7c1ec13f2118bf9be93542e62ba4ae854f1b, the content this pull request carries at that commit against develop, and it recorded 2 findings.

… Gate

A dispatch cannot hold a Dependabot auto-merge, since its run posts a
context no ruleset requires, so the dispatch is a check run on the base
branch once the bump merges. CI runs the prose gate at the hub commit
the workflows pin, so the local run uses a hub checkout at that commit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ptr727

ptr727 commented Nov 9, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 6c640614933d4f310a8f61912257caf144655aa3, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@ptr727
ptr727 merged commit 0ca321b into develop Nov 9, 2026
8 checks passed
@ptr727
ptr727 deleted the resync-pr-workflow-trigger branch November 9, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants