Skip to content

SCA-2918: count an invalid rollout environment as unknown holdout membership; docs - #26561

Merged
Git-on-my-level merged 2 commits into
mainfrom
lane/v3-holdout-followup2
Nov 28, 2026
Merged

Git-on-my-level merged 2 commits into
mainfrom
lane/v3-holdout-followup2

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #26552. It fixes the three accepted findings from panel review-20261128t000508-c5df (SCA-2918).

  • F2: an invalid rollout environment now counts as unknown holdout membership.
    • With the resolver bound but an invalid OMI_ENV_STAGE, utils.rollout_cohorts._in_rollout_cohort took the plain-miss branch. A held-out owner was then admitted with no v3_holdout fallback counted.
    • It now raises RolloutCohortUnavailable for conversations-v3-holdout only, which v3_intake_held_out admits and counts. Other cohorts keep the plain miss.
    • This only happens on a misconfigured deploy, never in normal serving.
  • F1 (runbook, rollout-cohorts.md): read errors deny membership only for ordinary cohorts. dream-agent, go-finalization and the holdout raise, and each caller decides; the holdout admits and counts a fallback.
  • F3 (change note 2026-11-26-v3-holdout.md): adds the capped /live lookup rule. A capped lookup keeps v3:true and counts reason=lookup_cap.

Kill switch: CONVERSATIONS_V3_HOLDOUT=off. There is no new flag and no change to admission in normal serving.

Tests:

  • test_runtime_resolver_reports_unknown_holdout_membership now asserts that an invalid environment raises for the holdout and stays a plain miss for conversations-v3.
  • Local run, omi-heavy on m1, all passing:
    • test_conversations_v3_contract.py (121)
    • test_rollout_cohorts.py (29)
    • test_rollout_cohort_membership_parity.py (12)
    • Before the rebase: test_go_finalization_admission.py (34) and test_dream_eligibility_outage.py (7)

🤖 Generated with Claude Code

View guided diff Turn on auto-fix

…bership; docs

Review F1-F3 on #26552 (panel review-20261128t000508-c5df):
- F2: a bound resolver with an invalid OMI_ENV_STAGE took the plain-miss
  branch, so a held-out owner was admitted without the v3_holdout fallback.
  Raise RolloutCohortUnavailable for the holdout there too; other cohorts
  keep the plain miss.
- F1: rollout-cohorts runbook: read errors deny membership only for ordinary
  cohorts; dream-agent, go-finalization and the holdout raise.
- F3: the 2026-11-26 holdout change note gains the capped /live lookup rule.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T01:28:48.791242Z e0b19fd PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…unbook

Review F1/F2 on #26561: a wrapper test that an invalid OMI_ENV_STAGE admits a
held-out owner and counts one unavailable fallback, and a runbook note that the
same reason label covers a misconfigured stage.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Git-on-my-level
Git-on-my-level merged commit 799aa28 into main Nov 28, 2026
69 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/v3-holdout-followup2 branch November 28, 2026 02:21
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