Skip to content

Stabilize marketing audit and volume interaction tests #1074

Not planned

Description

@athvin

A full backend CI optimization PR encountered an unrelated Chromium marketing-test failure that added another 4m41s browser run before merge.

Evidence: frontend run 42715632778, first attempt. marketing-interactions.spec.ts:342 (audit holds its clock while paused and retains the corrected result) failed on all three Playwright attempts at line 359: #flow-dataset was enabled while the paused audit was expected to hold configuration. The volume keyboard-control test was also flaky in this run. The failed Chromium shard passed when rerun without source changes (Actions attempt 2); the same frontend source had passed on main at 83ffb0a. PR #1072 changes CI scripts/workflows and documentation, not frontend behavior.

Investigate the paused audit / viewport visibility / control-lock relationship and make the test deterministic while preserving the product assertion. AuditStory reports running && inView to the parent; this is a diagnostic lead, not a confirmed root cause. Do not remove the assertion or increase retries to hide the problem. Reproduce in the complete Chromium shard as well as the individual case, and verify the other browser tier.

Acceptance: explain the root cause, retain the pause/clock/control assertions, demonstrate repeated passing local and hosted shard runs, and record the result. Related measurement work: #1036.

Main confirmation also hit the volume interaction failure in mobile Safari, run 42717888912, initial WebKit 1/2 job 129504110342. After slider.fill("50"), aria-valuetext remained 100,000 records per run rather than 2,500,750 records per run at line 48; all three in-job attempts failed. Other main browser shards passed. This is the same unchanged marketing source, not a frontend diff in #1072. Investigate input readiness/hydration as well as viewport behavior; do not weaken either assertion.

Actions attempt 2 of main run 42717888912 failed the same mobile-Safari volume assertion on all three test attempts again. Stop treating this as a one-off runner failure; the current frontend main gate remains red. Backend main run 42717888857 is green in 4m09s.

Activity

  1. self-assigned this
    on Nov 9, 2026
  2. changed the title [-]Stabilize paused marketing audit control-lock test[/-] [+]Stabilize marketing audit and volume interaction tests[/+] on Nov 9, 2026
  3. athvin commented on Nov 21, 2026

    @athvin
    OwnerAuthor

    Repeated on unchanged marketing source after DuckFleet PR #1139: main frontend run 44858366901, attempt 1, Chromium 1/2, marketing-interactions.spec.ts:405, #flow-dataset enabled while the audit is paused. All three in-job attempts failed. The immediately preceding main frontend run 44858332927 passed. Neither #1139 nor its intervening base commit changed frontend product/test code. One failed-jobs rerun is in progress (Actions attempt 2). The existing diagnostic lead remains visible in demo/audit-story.tsx: configuration lock is reported as running && inView, and the test scrolls the audit before inspecting that lock. Preserve the existing clock/control assertions when addressing the viewport behavior.

  4. athvin commented on Nov 21, 2026

    @athvin
    OwnerAuthor

    The paused-audit subcase is now isolated in #1146 / PR #1147, leaving this broader assigned ticket and its volume-control work intact. The main rerun failed again. A complete local Linux Chromium shard reproduced it (348 passed; only audit failed). Native observer instrumentation showed offscreen and visible entries batched together; ([entry]) consumed only the stale first entry. The fix uses the last entry of this single-target observer. A deterministic regression was observed failing first; it preserves pause/clock/complete/replay assertions and verifies offscreen unlock plus return-to-view relock. Nine repeated Linux runs passed across desktop Chromium, mobile Chromium and mobile Safari. Hosted PR checks are green; full local browser validation and final landing remain in progress.

  5. added
    pruned
    on Nov 27, 2026
  6. athvin commented on Nov 27, 2026

    @athvin
    OwnerAuthor

    Closed in the second 2026-11-26 board prune. The board now targets only the API that customers use to build their own deduplication tooling. Everything else is bonus, and this card is one of those. It's labelled pruned and can be reopened later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

pruned

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions