Skip to content

[bug] Nightly browser-extended: cancel does not reach the terminal state while an old media request is held #517

Backlog

Description

@hsliuustc0106

Evidence

Scheduled Nightly #23 on main (2e5cb380), browser-extended job, Ubuntu 22.04, Node 24.22.1, Playwright Chromium with the local generation fixture. The slow old media case in generation_feedback.mjs:317–356 timed out on the persisted cancellation check at line 349. The preceding cancellation scenarios passed. The same-revision isolated browser job passed and is a separate check.

Reproduction in the existing browser test

Run tests/browser/generation_feedback.mjs in the Nightly extended browser fixture. Generate two successful results, hold the older unselected asset's content request over a reload, close the test generation gate, submit a third job, and click Cancel once the new task activity is visible. Keep the old asset response held until cancellation settles.

Expected: the third job reaches cancelled and its busy overlay clears without waiting for the old asset.

Observed: the third job was admitted and the visible Cancel button was clicked, but the test never observed a persisted cancelled job within its polling window. The subsequent overlay assertion was not reached.

Triage

One scheduled failure observed; not independently rerun. The retained logs do not tie a cancel request/receipt or the final third-job status to this case, so it is not yet clear whether this is a fixture race, a missing cancel request, or a persistence/state-transition problem. Capture the third job ID/state transitions, browser cancel request/response and pending old-asset request on the next targeted reproduction. Keep the independence assertion. #511 touched an earlier prompt-optimizer assertion in this script, not this case.

Activity

  1. added
    area:ci
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:ci

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions