Skip to content

quest: delete risk-policy; high-risk PRs keep the scoped queue checks - #9461

Merged
kixelated merged 6 commits into
mainfrom
quest/m1/risk-policy
Nov 23, 2026
Merged

kixelated merged 6 commits into
mainfrom
quest/m1/risk-policy

Conversation

@kixelated

@kixelated kixelated commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

quest/m1/risk-policy.md planned to run the full suite (just gate) in the merge queue for high-risk PRs, and to let some classes of change land without the maintainer's pick. An earlier version of this PR built that. Measured cost: about a third of queue entries would run the roughly 13-minute gate instead of the 7.2-minute scoped median.

Approach

  • Deletes quest/m1/risk-policy.md (quest rm; no other file links to it).
  • Keeps the follow-up it found, quest/m0/test-flakes-3/ffi-first-dial-timeout.md. Its motivation now stands on its own: the hang fails Nightly's Gate, and check.yml runs the same suite on release PRs.
  • Drops every policy change from earlier heads. RISK.md, CONTRIBUTING.md, .github/workflows/queue.yml, .github/justfile, sh/gh/queue.test.ts, and quest/m0/ci/README.md are back to main's versions, and sh/gh/queue-suite.sh is gone. main was merged in rather than rebased, so the diff holds only the two quest files.

Decisions

  • Maintainer, 2026-11-23 (/quest-run, comment): ✅ delete the risk-policy quest (rejected: land as is, give bot PRs review records first, keep scoped checks at every tier). Running the full gate for high-risk PRs adds nothing: release PRs already run it (check.yml runs just ci --all, which is what just gate runs), and main keeps its scoped queue checks.
  • Follow-up ffi-first-dial-timeout: ✅ keep (rejected: drop), reworded so it no longer relies on the full-gate policy.
  • moq-dev/quest quest suite follow-up: ✅ drop (rejected: plan it). Nothing here consumes it any more.

Impact

  • Public API: none. Wire: none. CI: none (queue checks unchanged from main).

Validation

No behavior to exercise: the diff only changes quest files. quest check passes (502 documents), and git diff origin/main holds only the two quest files.

Follow-ups

  • quest/m0/test-flakes-3/ffi-first-dial-timeout.md: moq-ffi's session_state_names_a_failing_first_dial hit nextest's 120s timeout in Nightly's Gate on 2026-11-22, the only failure out of 13,238 tests. Kept by the maintainer; no open decisions.

Models

Size: XS
Implementer: Claude Code, claude-opus-5-5, unknown effort
Implementer: Claude Code, claude-opus-5-5, unknown effort (iterate, XS)

🤖 Generated with Claude Code

(Written by Claude Opus 5.5)

Review

Rewritten by quest review after each round.

  • Head: 03dd271

  • Base: origin/main at bb4cc51

  • Risk: low, Nothing users, consumers, or peer repositories rely on can break: the diff only adds one quest plan (quest/m0/test-flakes-3/ffi-first-dial-timeout.md) and deletes another (quest/m1/risk-policy.md), both documentation-style quest plans that RISK.md lists as low, and a revert fully undoes both.

  • Classified: low by Claude Code, claude-haiku-5-5, low effort, session 29aaf419-d9f4-4204-a43b-b82f82f62b89

  • Local review: none, since a low-risk head needs only the online reviewer

  • Reviewer: Codex, gpt-6.1-sol, medium effort

  • Session: 01a20717-2615-7a51-ae47-5a3916452d47

  • Rounds: 2; first round 2 (high 1, medium 1); findings 2 (high 1, medium 1): fixed 2, refuted 0, open 0

kixelated and others added 3 commits November 22, 2026 22:21
Quest-Claim: f98859ebddfe1bbd
…rnal docs land on their own

RISK.md names `just gate` as its full suite and lists the `tests` and
`internal-docs` classes that land without the maintainer's pick. The
merge queue asks `quest suite` per entry and runs the full suite for a
high or unrecorded head, the scoped `just ci "$BASE"` otherwise.
CONTRIBUTING's landing gate points at both sections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated kixelated changed the title Name the high tier's full suite and the classes that land on their own ci(queue): high-risk PRs run RISK.md's full suite, and tests and internal docs land on their own Nov 23, 2026
…e full suite

`quest suite` reads the PR's checks and workflow runs, so the queue's
token reads checks, statuses, and actions too. A PR body is its
author's, so `sh/gh/queue-suite.sh` gives an author without write access
RISK.md's full suite whatever the record says.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated

Copy link
Copy Markdown
Collaborator Author

Maintainer decision (/quest-run, 2026-11-23): ✅ delete the risk-policy quest (rejected: land as is, bot PRs get review records first, keep scoped checks at all tiers). There's no benefit: release PRs already run the full gate (check.yml runs just ci --all, which is just gate), and main keeps its scoped queue checks. Repurpose this PR to delete quest/m1/risk-policy.md and drop its workflow, script, RISK.md and CONTRIBUTING.md changes. Follow-ups: ffi-first-dial-timeout ✅ keep (rejected: drop), with its motivation reworded so it no longer relies on the full-gate policy; the moq-dev/quest quest suite follow-up ✅ drop (rejected: plan it).

(Written by Claude Opus 5.5)

kixelated and others added 2 commits November 23, 2026 10:09
# Conflicts:
#	.github/workflows/queue.yml
#	sh/gh/queue.test.ts
The maintainer decided against running the full gate for high-risk PRs:
release PRs already run it via check.yml's `just ci --all`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated kixelated changed the title ci(queue): high-risk PRs run RISK.md's full suite, and tests and internal docs land on their own quest: delete risk-policy; high-risk PRs keep the scoped queue checks Nov 23, 2026
@kixelated
kixelated marked this pull request as ready for review November 23, 2026 18:10

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues found.

Approach: sound. It deletes the superseded risk-policy quest and keeps the one follow-up it found, so CI behavior stays as on main.

Reviewed changes

Read the full diff (2 files). I grepped the checkout for risk-policy and found no remaining references.

  • Deleted quest/m1/risk-policy.md: removes the plan for a full-gate high tier. Nothing else links to it.
  • Added quest/m0/test-flakes-3/ffi-first-dial-timeout.md: a follow-up for the session_state_names_a_failing_first_dial hang. It has a goal, a plan and a repro command.

Pullfrog  | View workflow run | Using claude-sonnet-5-5 | 𝕏

@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request adds a report about a moq-ffi test timing out in Nightly’s Gate. It also removes the risk-policy document, which described full-suite gating and related planning guidance. No implementation changes are included.

Merge Risk: Minimal · up to 03dd2

This change only updates internal planning documents, with no runtime or CI behavior change. It is low risk to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: deletion of quest/m1/risk-policy.md. It also names the retained behavior, that high-risk PRs keep the scoped queue checks. The title is specific and matches the descri…
Description check Passed The description explains the problem, the approach, the maintainer decisions, the impact, and the validation. It matches the changeset, which deletes the risk-policy quest and keeps the ffi-first-dial…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: deletion of quest/m1/risk-policy.md. It also names the retained behavior, that high-risk PRs keep the scoped queue checks. The title is specific and matches the description and objectives, so it passes.

Full details: Description check

Explanation

The description explains the problem, the approach, the maintainer decisions, the impact, and the validation. It matches the changeset, which deletes the risk-policy quest and keeps the ffi-first-dial-timeout follow-up. The description passes.

Finishing Touches

Simplify code

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0969aba3-e9e7-4c3a-b4a1-4b587f6bb516
Commits

Reviewing files that changed from the base of the PR and between bb4cc51 and 03dd271.

Files selected for processing: 2

  • quest/m0/test-flakes-3/ffi-first-dial-timeout.md
  • quest/m1/risk-policy.md
Files with no reviewable changes: 1

  • quest/m1/risk-policy.md

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@kixelated
kixelated added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit f1871e2 Nov 23, 2026
6 checks passed
@kixelated
kixelated deleted the quest/m1/risk-policy branch November 23, 2026 18:24
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.

1 participant