Skip to content

fix: warn on stale Emulator repository rollout mismatch - #90

Merged
inferjay merged 1 commit into
masterfrom
fix/emulator-repository-staleness-warning
Oct 2, 2026
Merged

inferjay merged 1 commit into
masterfrom
fix/emulator-repository-staleness-warning

Conversation

@inferjay

@inferjay inferjay commented Oct 1, 2026

Copy link
Copy Markdown
Owner

When Emulator Repository XML is newer than the same-channel archive, cross-validation still succeeds, but previously the tolerated mismatch had no staleness signal. This change warns when the archive release is at least 7 UTC calendar days old while status remains repository-newer.

  • Report archive release date, UTC check date, age, threshold and an explicit warning. Archive age is a stateless proxy, not confirmed mismatch duration; a newly advanced Repository version can also trigger the warning against an older archive.
  • Write warnings and the JSON report to Actions summary before the no-change early exit, so unchanged pages still expose the signal.
  • Keep generated pages, download sources, fail-closed validation, update PR creation and exit-code behavior unchanged. No persistent state or new dependencies.

Validation: all 13 offline unittest cases passed, covering threshold boundaries (6/7 days), future dates, matched releases, fresh archive dates, older Repository failure, and successful no-change write with a stale warning and byte-identical pages. git diff --check passed.

Scope: automation code/tests/workflow only; PR #89 release content was not reverified. No automatic merge.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying androiddevtools with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0618dee
Status: ✅  Deploy successful!
Preview URL: https://c98871f5.androiddevtools.pages.dev
Branch Preview URL: https://fix-emulator-repository-stal.androiddevtools.pages.dev

View logs

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 1, 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-01T14:10:57.121481Z 0618dee 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.

@inferjay
inferjay merged commit d0c3f79 into master Oct 2, 2026
1 check passed
@inferjay
inferjay deleted the fix/emulator-repository-staleness-warning branch October 2, 2026 04:50
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