Repository navigation
[test] providers: stabilize capability discovery browser clock - #412
Draft
wangtiance wants to merge 1 commit into
Draft
wangtiance wants to merge 1 commit into
wangtiance wants to merge 1 commit into
Conversation
## summary - Pause the browser clock with transport headroom and align its wall time with the HTTP fixture before requesting capability observations. - Freeze before the paused-service reply to preserve its expiry checks and bilingual presentations. - Record the nightly failure evidence and clock-control lesson.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The production browser lane in nightly run 44645615189 failed when capability discovery called
pauseAt(new Date())with a target already behind the running browser clock.Pause with transport headroom, then realign the paused wall clock with the HTTP fixture before requesting each short-lived observation. Move the second pause before the paused-service response so advancing time cannot expire the observation being inspected. Keep the bilingual and explicit expiry assertions, and record the failure evidence in the development lessons.
Validation
Complete capability discovery script passed twice against a production preview and isolated assistant fixture using Playwright Core 1.58.2 and Windows Edge (Chromium); includes bilingual states, pause expiry, fixture generation and immutable history.
Production build, browser manifest, browser locale, i18n, JavaScript syntax and diff checks passed.
Browser runs preceded the latest main fast-forward; Linux Chromium CI remains to be verified.
Whole-PR pre-commit could not complete: after fixing local cache permissions, actionlint dependency downloads from proxy.golang.org timed out. This is an environment failure, not a passing validation.