Skip to content

ci(policy): conform PR-trigger workflows to the main-only contract (#17965) - #17994

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/0900il-17965-ci-policy
Dec 1, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/0900il-17965-ci-policy

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Closes #17965

What

check-ci-policy-agreement.test.sh failed against the real tree: at current main it reported 11 PR-derived triggers + 1 push-target disagreement (the filing named the first three found; the rest accumulated from the same push+PR wiring pattern — full scope note on #17965).

Trigger conformance (11 workflows): the pull_request leg is removed from atlas-search-python-tests, d1-gateway-deploy, desktop-commander-worker-tests, fleet-python-tests, fleet-queue-backup-tests, fleet-search-parity-guard, laptop-agent-tests, mcpx-worker-tests, pm-cloudflare-config, queue-backup-tests, transport-adapter-schema. Each keeps its push: branches: [main] leg with identical path filters (and workflow_dispatch where it already had one), per Drew's 2026-11-13 ruling in ci-policy.md. No job or step changes; stale header comments truthed in the three files that described PR runs. (d1-gateway-deploy's two pull_request event guards in its concurrency/if conditions are left as-is: they are inert now and remain correct if a manual event ever carried the name.)

Policy sanction (1 workflow): rebuild-flake-lock is not CI — it is the automation half of the laptop repo-keeper handoff (#12520) whose input is a push to rebuild/**. ci-policy.md records the sanctioned exception, and check-ci-policy-agreement.sh excepts exactly that file from the push-target check (its PR-trigger check still applies; any other non-main push still fails).

Verification

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-12-01T00:40:39Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…17965)

Remove the pull_request leg from eleven test/deploy workflows
(atlas-search-python-tests, d1-gateway-deploy,
desktop-commander-worker-tests, fleet-python-tests,
fleet-queue-backup-tests, fleet-search-parity-guard,
laptop-agent-tests, mcpx-worker-tests, pm-cloudflare-config,
queue-backup-tests, transport-adapter-schema). Each keeps its
push: branches: [main] leg with identical path filters (and
workflow_dispatch where present), per Drew's 2026-11-13 ruling in
ci-policy.md. Stale header comments truthed in three files.

rebuild-flake-lock is sanctioned instead: it is automation, not
CI - the receiving half of the laptop repo-keeper handoff
(#12520) whose input is a push to rebuild/**. ci-policy.md records
the sanction; check-ci-policy-agreement.sh excepts exactly that
file from the push-target check (its PR-trigger check still
applies).

check-ci-policy-agreement.test.sh now passes against the real
tree (was: 11 PR-derived trigger errors + 1 push-target error).
@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ec3a1a44-352e-4434-9fef-de4f5899d3f4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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

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.

ci(policy): check-ci-policy-agreement suite fails on main — queue-backup-tests + transport-adapter-schema declare PR triggers, rebuild-flake-lock pushes rebuild/**, no waivers recorded

1 participant