Skip to content

test: serialize library regression fixtures on the test scheduler - #510

Merged
Quick104 merged 2 commits into
mainfrom
test/android-library-shrink-scheduler
Oct 8, 2026
Merged

Quick104 merged 2 commits into
mainfrom
test/android-library-shrink-scheduler

Conversation

@Quick104

@Quick104 Quick104 commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A — narrow test reliability fix
Validation tasks: none

Library regression fixtures combine immediate mock HTTP responses on real IO threads with the virtual test scheduler. Two shrink fixtures reproduced timeouts; the recovery fixture later timed out in cold parallel CI. These failures interrupt CI and prevent reliable timing comparisons.

Approach

Run all three immediate-response regression fixtures on their existing test scheduler. Consume the confirming request before the hidden-audiobook scenario submits its next response. Preserve every response scenario, assertion and deadline.

This focused PR is stacked on #507 and changes one test file.

Validation

  • The current recovery fixture file matches the reviewed local candidate byte for byte. It passed 50 repetitions without instrumentation and the complete 11-case class with fresh Test execution and zero failures, errors or skips.
  • Five original and five candidate diagnostic bodies passed with matching response fingerprints. Traces show original mock responses on IO workers and candidate responses on the test's Main thread. The original recovery timeout was not reproduced, so its exact failed phase remains unproven.
  • The first diagnostic attempt stopped before Test execution because the sandbox blocked its private daemon socket. Its logs and cleanup remain in the evidence. The admitted cohort used authorized socket access, fresh homes, fixed caps and zero retries; all owned processes exited and source was restored.
  • Prior commit 6808ea83 passed the local generic graph with 9,848 fresh tests from 1,277 XML reports, all nine Test tasks, debug/fatal lint, both debug builds and supply-chain checks. Hosted run 37661127660 passed all five debug Test tasks and both fatal lint/R8/bundle pipelines. Those results belong to the prior revision.
  • Current ordinary CI 37688793896 passed on its first attempt: all five debug Test tasks ran freshly, all three debug lint tasks passed, and both complete fatal lint/R8/bundle pipelines succeeded. The actual tested merge tree equals current head 7f8c7e1a exactly. This workflow retains no successful XML/case counters, so numerical hosted case and skip totals are unavailable. The fresh generic nine-task gate on the final integration source and cold parallel compatibility remain required.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-android/ci-library-shrink-scheduler/

Risks

The change confines these three fixtures to one scheduler. The captured timeouts and passing diagnostics do not establish the exact historical recovery interleaving or a measured CI speed improvement. Local validation used JBR 21.0.11; current ordinary CI resolved Temurin 21.0.12+1 and passed its full selected graph.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • The Evidence section records the change and validation.

AI Disclosure

  • Harness: OpenAI Codex desktop
  • Tool(s): Codex shell and file tools, Git, GitHub CLI, Gradle, Python, private Silo evidence publisher
  • Model(s): gpt-6.1-sol (ultra)
  • Involvement: AI-assisted
  • Adversarial review: Independent agents and the parent reviewed scheduler confinement, request completion, the loader loop, the pinned Ktor dispatcher and assertion coverage. The new recovery fixture expansion is the fully reviewed candidate; reversing it restores the entire prior file exactly. Native traces, repetitions and class results are retained with their source identities and limitations. Current ordinary hosted CI passed with exact source/task proof; the full generic integration and cold parallel gates remain pending.

@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: 6c29fbdb-32b4-4b06-a22e-fdc5743f76a6

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-07T17:43:46.759249Z 6808ea8 PR opened
🔒 Security Review ✅ Completed 2026-10-07T17:44:00.871406Z 6808ea8 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.

@Quick104 Quick104 mentioned this pull request Oct 7, 2026
3 tasks done
@Quick104 Quick104 changed the title test: serialize library shrink fixtures on the test scheduler test: serialize library regression fixtures on the test scheduler Oct 7, 2026
Base automatically changed from test/android-shuffle-countdown-scheduler to main October 8, 2026 01:10
@Quick104
Quick104 merged commit 7f8c7e1 into main Oct 8, 2026
7 checks passed
@Quick104
Quick104 deleted the test/android-library-shrink-scheduler 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant