Skip to content

test: scope the TV startup ownership barrier - #511

Merged
Quick104 merged 1 commit into
mainfrom
test/android-tv-startup-barrier
Oct 8, 2026
Merged

Quick104 merged 1 commit into
mainfrom
test/android-tv-startup-barrier

Conversation

@Quick104

@Quick104 Quick104 commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A — focused CI reliability work requested by the maintainer.
Validation tasks: none.

The TV startup ownership test can expect an error after startup already returned Ready. Its pause hook accepts every token snapshot, allowing background route telemetry to consume the hook before the test changes ownership.

Approach

Attach a dedicated CoroutineName to the startup coroutine and require that exact context element before the hook pauses. All eight ownership and cancellation scenarios retain their assertions. This PR depends on the Library fixture repair in #510.

Validation

  • Current mechanically integrated head b6f081b2, based on 7f8c7e1a: the complete focused PR diff is byte-identical to the reviewed d028afb7 diff. The integrated application tree adds only the accepted recovery scheduler fixture. Fresh ordinary CI 37696384746 passed on attempt 1. The actual tested merge tree equals this head; all five debug Test tasks and full lint/Vital/R8/bundle graphs executed. This predecessor workflow emits no numerical test or skip census; five actual fresh Test tasks were verified from the raw logs. Earlier validation below retains its original source.
  • Earlier head d028afb7, based on Library 6808ea83 and main 1574897b: all 9,848 debug/release tests passed freshly, with zero failures, errors or skips across nine Test tasks and 1,277 reports.
  • All required debug and fatal release lint tasks, both debug application builds, supply-chain policy and self-tests passed. Eight nonempty debug APKs were verified.
  • Local Gradle validation completed successfully in 1m 37s. Test output caching and local up-to-date reuse were disabled for this validation.
  • Earlier unchanged-source diagnostics captured the wrong coroutine consuming the hook on invocation 97. The repaired fixture passed 500 predecessor scenarios and ten full class invocations, retaining all eight scenarios and assertions.
  • Earlier ordinary CI 37661217696 passed Unit tests, Lint and Release readiness. Actual checkout 8a4ee931 has the complete Git tree of reviewed d028afb7; all five debug Test tasks executed. This pre-cache workflow used trusted-linux-ci.yml from main 1574897b and emits no successful JUnit totals, so the 9,848-case count above remains local evidence.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-android/pr-511/

Risks

The change affects only the test pause hook. The diagnostic invocation count does not estimate ordinary CI failure frequency.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • Private evidence records the reproduction and fresh validation.

AI Disclosure

  • Harness: OpenAI Codex desktop.
  • Tool(s): Codex implementation and independent review agents, git, GitHub CLI, Gradle, Android lint, JUnit/Robolectric, Python and the Silo evidence CLI.
  • Model(s): gpt-6.1-sol.
  • Involvement: AI-assisted.
  • Adversarial review: Independent agents and the coordinating agent read the complete barrier diff, traced production token callers and inspected the captured race. They verified coroutine identity excludes telemetry, all assertions remain intact and default production behavior is unaffected. No actionable defect remained. The parent verified the exact patch on current main and ran the full fresh gate.

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 02030339-a836-480d-8d56-007bed6b5fd5

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
  • Autopilot · 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

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T22:29:31.943921Z b6f081b New commits
🔒 Security Review ✅ Completed 2026-10-07T22:30:12.061570Z b6f081b New commits
ℹ️ 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.

@Quick104 Quick104 added priority: P2 Limited scope, workaround exists, or polish impact: polish Annoyance, cosmetic, or nice-to-have labels Oct 7, 2026 — with Cursor
@Quick104
Quick104 force-pushed the test/android-tv-startup-barrier branch from d028afb to b6f081b Compare October 7, 2026 22:28
Base automatically changed from test/android-library-shrink-scheduler to main October 8, 2026 01:10
@Quick104
Quick104 merged commit b6f081b into main Oct 8, 2026
7 checks passed
@Quick104
Quick104 deleted the test/android-tv-startup-barrier branch October 8, 2026 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact: polish Annoyance, cosmetic, or nice-to-have priority: P2 Limited scope, workaround exists, or polish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant