Skip to content

investigate(demo): synthetic downloads lose requested names in clean Chromium #314

Description

@lamemustafa

In clean Chrome for Testing 151.0.7922.34, the synthetic reviewer demo produced ten completed, nonempty files, but the browser saved them with generic names instead of the requested demo folder and names. That makes the demo index harder to use because its requested names do not match the saved files.

This was observed during local Store-candidate QA. File contents were synthetic and correct; the manifest and exception report matched the demo, and clear-data plus a full browser restart removed the stored summary. No real documents were used. The behavior was observed with Playwright download interception disabled and native download settings restored, but a separate UI-only reproduction was not completed. Treat automation influence as unresolved, not as a proven product cause.

One code path to check: src/background/synthetic-demo.ts releases its filename reservation as soon as downloads.download() resolves. The filename guard expects the reservation to survive until a terminal download observation. The current fixture fires filename determination before that promise resolves, so it does not cover a late callback. This is a hypothesis to test, not a confirmed diagnosis. The synthetic-demo code is unchanged between 11cc788 and 1b64fab.

Priority: P2. Scope is demo organization and index consistency; these observations do not establish corruption, a privacy failure, or failure of real downloads.

Acceptance:

  • Reproduce in a clean browser without download-protocol overrides.
  • If confirmed, retain requested demo names and folder through download completion, including a delayed filename callback.
  • Confirm the downloaded index matches saved files and clear-data/restart behavior still passes.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions