Skip to content

ops(queue): enroll quarantine-sandbox-runtime in queue-health evidence - #2220

Closed
seonghobae wants to merge 6 commits into
mainfrom
codex/quarantine-sandbox-runtime-queue-health-enrollment
Closed

seonghobae wants to merge 6 commits into
mainfrom
codex/quarantine-sandbox-runtime-queue-health-enrollment

Conversation

@seonghobae

@seonghobae seonghobae commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Parent queue-health owner: #1150. Serialized allowlist predecessor: #2219. Incident owner: #712.

Finding

ContextualWisdomLab/quarantine-sandbox-runtime now supplies a current exact-head reproduction of the organization Actions pre-runner admission class, but the canonical read-only queue-health collector lineage does not include this repository in its explicit bounded allowlist.

Fresh leaf evidence on quarantine-sandbox-runtime#127@7b2b71f2557ab510dee3dfa0a79a9e1ebbda6185 shows CI run 35083728065 with all five jobs still queued before execution: coverage 104753533940, verify 104753534176, branch coverage 104753534238, hosted negative rootless/AppArmor 104753534297, and positive SELinux 104753534319. Each has runner_id=0 and steps=[]. The repository currently has zero in-progress runs and six queued runs, including current exact heads for #121, #127, #125, #112, #63 plus an obsolete older #112 generation that remains queued. This is incomplete infrastructure evidence, not a source GREEN or source RED.

Independent organization evidence narrows the mechanism. .github Strix run 35042040067 had ordinary ubuntu-24.04 job 104623845874 created at 00:56:27Z and admitted only at 05:31:14Z (4h34m47s queue delay). Its downstream strix job 104677640883, also ubuntu-24.04, was created at 05:31:20Z and admitted at 10:22:30Z (4h51m10s queue delay), then progressed through checkout and sidecar setup. GitHub's public status page reports Actions operational on 2026-09-16. The current evidence is consistent with the already-owned organization admission/capacity-starvation class and does not establish a quarantine-runtime source defect, a floating-label-only problem, or a public GitHub Actions incident.

No leaf rerun, wake/no-op commit, runner-selector churn, cancellation of current-head evidence, predecessor-status transfer or gate weakening was used or is authorized.

RED → minimum repair

This child is deliberately serialized on #2219 because #2219 owns the same allowlist/test paths; no competing sibling writer was opened.

Test-first commit c399b44360c46819596ea98a0cfb4db99c8ff4c6 extends the exact-equality allowlist contract to require ContextualWisdomLab/quarantine-sandbox-runtime while the inherited config still omits it. Focused reconstruction of the exact workflow/config/test contents is deterministically RED: 1 failed, 1 passed; the only mismatch is the missing quarantine-runtime repository entry.

Causal successor 5e9fd0cfd0e2557cae506ae0c3797b57ec30d894 adds only the matching repository entry. Relative to exact parent #2219 491a901fd9747b97cce2943c1e1b05a2fa7415d0, the branch is two ordinary commits ahead and changes exactly the same two bounded owner paths:

  • config/actions_queue_health_repositories.json: enroll ContextualWisdomLab/quarantine-sandbox-runtime;
  • tests/test_actions_queue_health_contract.py: preserve the explicit/bounded exact-equality contract with quarantine runtime included.

Focused reconstruction of the exact current workflow/config/test contents is GREEN: python -m pytest -q tests/test_actions_queue_health_contract.py2 passed. Collector logic, schedule, permissions, runner selectors, cancellation/rerun behavior, observed leaf branches, and required gates are unchanged.

Ownership / acceptance

Base is serialized enrollment predecessor #2219 exact 491a901fd9747b97cce2943c1e1b05a2fa7415d0, itself stacked on #2200 → canonical queue-health owner #1150. Keep this PR Draft until the parent stack integrates normally and this child is ordinary/non-force reconciled onto the integrated predecessor with fresh exact-head evidence.

Enrollment does not claim queue starvation is resolved. GREEN for the incident class requires the canonical collector to run on its eventual protected owner source and publish a read-only snapshot that binds current quarantine-runtime repository/PR/head/workflow/job identities while distinguishing the obsolete #112 queued generation from current-head required evidence.

Do not self-approve, administrator-bypass, force update, destructively rebase, copy workflow source, cancel current-head evidence, blindly rerun, add no-op freshness commits, change runner selectors, synthesize status, transfer predecessor evidence or weaken gates.

@coderabbitai

coderabbitai Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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

Comment @coderabbitai help to get the list of available commands.

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

Please review exact head 5e9fd0cfd0e2557cae506ae0c3797b57ec30d894, especially serialized ownership on #2219, bounded allowlist/test-only scope, and whether the evidence wording improperly over-attributes organization queue starvation.

@coderabbitai

coderabbitai Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor
🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '== checked-out commit and ancestry =='
git rev-parse HEAD
git status --short
git merge-base --is-ancestor 491a901fd9747b97cce2943c1e1b05a2fa7415d0 5e9fd0cfd0e2557cae506ae0c3797b57ec30d894 && echo 'declared parent is an ancestor'
git log --oneline --decorate 491a901fd9747b97cce2943c1e1b05a2fa7415d0..5e9fd0cfd0e2557cae506ae0c3797b57ec30d894

echo '== exact range summary and patch =='
git diff --stat 491a901fd9747b97cce2943c1e1b05a2fa7415d0..5e9fd0cfd0e2557cae506ae0c3797b57ec30d894
git diff --name-status 491a901fd9747b97cce2943c1e1b05a2fa7415d0..5e9fd0cfd0e2557cae506ae0c3797b57ec30d894
git diff --check 491a901fd9747b97cce2943c1e1b05a2fa7415d0..5e9fd0cfd0e2557cae506ae0c3797b57ec30d894
git diff --no-ext-diff --unified=80 491a901fd9747b97cce2943c1e1b05a2fa7415d0..5e9fd0cfd0e2557cae506ae0c3797b57ec30d894 -- config/actions_queue_health_repositories.json tests/test_actions_queue_health_contract.py

echo '== relevant source outline =='
ast-grep outline tests/test_actions_queue_health_contract.py --items all
echo '== configuration =='
cat config/actions_queue_health_repositories.json

echo '== pull request metadata =='
gh pr view 2220 --repo ContextualWisdomLab/.github --json number,state,isDraft,headRefOid,baseRefName,baseRefOid,title,body,url 2>&1
echo '== predecessor metadata =='
gh pr view 2219 --repo ContextualWisdomLab/.github --json number,state,isDraft,headRefOid,baseRefName,baseRefOid,title,url 2>&1

Length of output: 11353


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '== locate collector and workflow =='
fd -a -t f 'actions_queue_health|actions-queue-health' . | sort

echo '== workflow outline and relevant references =='
ast-grep outline .github/workflows/actions-queue-health.yml --items all
rg -n -C 4 'actions_queue_health|actions_queue_health_repositories|repository|queue|status' .github/workflows/actions-queue-health.yml

echo '== collector outline =='
collector=$(fd -a -t f '^actions_queue_health\.py$' . | head -n 1)
printf '%s\n' "$collector"
ast-grep outline "$collector" --items all
rg -n -C 5 'actions_queue_health_repositories|repositories|queued|in_progress|runner_id|steps' "$collector"

echo '== predecessor scope =='
git diff --name-status c4054eef3fc3cd84c87ea830b2e94d4145aa34e8..491a901fd9747b97cce2943c1e1b05a2fa7415d0
git diff --no-ext-diff --unified=25 c4054eef3fc3cd84c87ea830b2e94d4145aa34e8..491a901fd9747b97cce2943c1e1b05a2fa7415d0 -- config/actions_queue_health_repositories.json tests/test_actions_queue_health_contract.py

echo '== static JSON and contract-list consistency =='
python - <<'PY'
import ast
import json
from pathlib import Path
config = json.loads(Path("config/actions_queue_health_repositories.json").read_text())["repositories"]
source = Path("tests/test_actions_queue_health_contract.py").read_text()
tree = ast.parse(source)
expected = None
for node in ast.walk(tree):
    if isinstance(node, ast.Assert) and isinstance(node.test, ast.Compare):
        left = node.test.left
        if isinstance(left, ast.Name) and left.id == "payload":
            expected = ast.literal_eval(node.test.comparators[0])["repositories"]
            break
print("config_is_unique:", len(config) == len(set(config)))
print("config_is_sorted:", config == sorted(config, key=str.lower))
print("contract_matches_config:", expected == config)
print("repository_count:", len(config))
PY

Length of output: 11622


@seonghobae I reviewed exact head 5e9fd0cfd0e2557cae506ae0c3797b57ec30d894.

I found no code-scope defect.

  • The checked-out HEAD matches the requested commit.
  • The declared #2219 head 491a901fd9747b97cce2943c1e1b05a2fa7415d0 is an ancestor and is the PR base.
  • This PR contains two ordinary commits after that base.
  • Both this PR and #2219 modify only config/actions_queue_health_repositories.json and tests/test_actions_queue_health_contract.py.
  • The JSON allowlist and the exact-equality contract match. They include ContextualWisdomLab/quarantine-sandbox-runtime exactly once.
  • The workflow remains the reader of this allowlist. This PR does not change collector logic, runner selection, scheduling, permissions, or cancellation behavior.

The evidence wording is mostly cautious because it says the evidence “points to” the organization admission/capacity-starvation class. However, “rather than … a public GitHub Actions incident” overstates what the cited public status observation can establish. A status page reporting Actions as operational does not exclude a partial, regional, capacity-specific, or unreported GitHub Actions incident.

Use narrower wording such as: “The current evidence is consistent with the already-owned organization admission/capacity-starvation class and does not establish a quarantine-runtime source defect, a floating-label-only problem, or a public GitHub Actions incident.”

I did not execute repository tests. The reported 2 passed result remains PR-provided evidence.

⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@seonghobae
seonghobae force-pushed the codex/pg-llm-batch-queue-health-enrollment branch from a66ef7b to b5b1cfc Compare September 17, 2026 17:35
Base automatically changed from codex/pg-llm-batch-queue-health-enrollment to main September 17, 2026 17:39
@seonghobae

Copy link
Copy Markdown
Contributor Author

Superseded — closing

Enrollment already on protected main via #2241 (ops(queue): enroll DiskSage/LineageWeave/Noema/quarantine/OriginWeave on refreshed #1150, merged 2026-09-17T15:58:45Z). No unique delta remains for this PR after #2213.

Verification

git fetch origin main
git grep -lF 'ContextualWisdomLab/quarantine-sandbox-runtime' origin/main -- \
  config/actions_queue_health_repositories.json \
  tests/test_actions_queue_health_contract.py
# → origin/main:config/actions_queue_health_repositories.json
# → origin/main:tests/test_actions_queue_health_contract.py

git show origin/main:config/actions_queue_health_repositories.json | grep -c quarantine-sandbox-runtime
# → 1  (unique enrollment)

git diff --stat origin/main...HEAD   # after rebase onto main
# → (empty)

Focused suite on rebased tree (HEAD == origin/main @ 64aa08d7f):

python3 -m pytest tests/test_actions_queue_health*.py -q74 passed.

Closing as not planned / superseded by #2241. No force-push and no new commits on this branch.

@seonghobae

Copy link
Copy Markdown
Contributor Author

Superseded by #2241 — quarantine-sandbox-runtime already uniquely enrolled on main; empty three-dot diff after rebase onto post-#2213 main. Closing as not planned.

@seonghobae seonghobae closed this Sep 17, 2026
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