Repository navigation
fix(marketing): stabilize the paused audit configuration lock (#1146) - #1147
Merged
Merged
Conversation
athvin
force-pushed
the
issue/1146-audit-lock
branch
from
November 21, 2026 03:37
19273fe to
d0336fe
Compare
athvin
marked this pull request as ready for review
November 21, 2026 03:38
athvin
force-pushed
the
issue/1146-audit-lock
branch
from
November 21, 2026 03:41
d0336fe to
319693a
Compare
athvin
force-pushed
the
issue/1146-audit-lock
branch
from
November 21, 2026 03:45
319693a to
deb571c
Compare
athvin
force-pushed
the
issue/1146-audit-lock
branch
from
November 21, 2026 03:50
deb571c to
f727763
Compare
This was referenced Nov 21, 2026
This branch was successfully deployed
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.
Closes #1146
What
Use the latest queued visibility entry for the marketing audit. A paused audit now keeps configuration locked while visible, including when the browser batches an old offscreen observation with the current visible one.
Why
Main Chromium failed the paused-audit assertion in both attempts after #1139, on unchanged frontend source. The full local Linux shard reproduced the failure; consuming only the first observer entry left the parent lock stale.
Proof
make frontendpassed: 83 unit/component files, 1,065 tests, and 918 browser tests (135 existing skips). The deterministic regression failed before the fix; nine repeated Linux runs then passed across desktop Chromium, mobile Chromium and mobile Safari. The complete Linux Chromium shard passed with 349 tests and two existing skips. Its first post-fix run encountered the separate saved-light-theme accessibility race already seen before this fix, now tracked in #1150; the unchanged full-shard repeat passed. Final headf7277630ec68d2ca2061f397bbf827d0511668d7passed all required checks and every PR workflow after refresh ontoec16e855. Squash merge89d14ca9a89bc082f8bfcf2a12905644954be97elanded at 2026-11-21T03:54:27Z; post-merge validation and the 30-minute watch are complete.Risk & rollback
The observer watches one target, so the last queued entry represents its current visibility. Existing pause, completion and replay assertions remain; added checks cover offscreen unlock and return-to-view relock. Revert this follow-up if audit controls regress.
Post-merge ledger
Closed by: Codex · session
01a1fb62-5950-78d2-982c-5ecb2cd40d30onbrians-MacBook-Pro.local· 2026-11-21T04:24:43Zmainis green with this change on it — original DuckFleet merge9e318ce6passed backend CI 44858367018 and full localmake checkon the combined merged tree. Its marketing failure was repaired by follow-up fix(marketing): stabilize the paused audit configuration lock (#1146) #1147, merge89d14ca9; main frontend 44863454746 executed and passed the audit in all three browser projects, and main Rust 44863454645 passed. Current main7426991feee54746809266a75dfa867800e8ac79contains both merges; its recent workflows are successful. No new main failure observed from 2026-11-21T03:54:27Z through 2026-11-21T04:24:43Z, completing the 30-minute watch.images— run 44863454627 passed; er-websha256:8d94386d85bb52fd877b1af594c3a2a7894d3cd9a4db67850418f187cf7eae52maps to merge89d14ca9.deploy— 44863604441 deployed the merge SHA successfully. Devweb-api-green-846df95d8-8fgzmemittedReady in 0msat 2026-11-21T03:57:30.446671901Z. Prodweb-api-blue-5f5b85c5cd-zsp2zemitted the same at 03:57:30.586120402Z with the new er-web digest (CloudWatch query0e7093c4-f61e-47c7-bb2e-af64703a2226). Both readiness probes returned 200; traffic verified dev green 03:57:54Z, prod blue 04:01:21Z.Specific to this change
Context — plan, discoveries, measurements, files
Plan
Discoveries
A native IntersectionObserver callback contained two entries for the audit: offscreen at top 1046.7, then visible at top 63.7. Array destructuring read only the stale first entry. Isolated tests and CPU-throttled runs passed; the complete Linux Chromium shard reproduced the bug. The regression prepends an opposite stale observation and preserves the full lifecycle assertions.
Measurements
Files