Skip to content

Move web_fetch and web_search report.py blobs once renderer hashes cover assets #197

Closed as not planned

Description

@lanyue-llk

Follow-up to #196, which left two renderers alone because a recorded hash binds them.

src/harness/web_fetch/report.py and src/harness/web_search/report.py still hold inline CSS and JavaScript. Each renderer's source hash is recorded as the identity of its presentation:

  • web_fetch/report_build.py records presentation_refresh.renderer_sha256 from report.py, and uses it to decide which result details to render again.
  • web_fetch/rescoring.py includes report.py in the rescoring audit's source_sha256.
  • web_search/report.py records its own hash as renderer_sha256.

Moving the blobs as they are would take CSS and JavaScript out of those hashes. A later style change would then not refresh Web Fetch details.

Scope

  • Decide whether these hashes should also cover the renderer's asset files, and how existing recorded values stay verifiable.
  • Then move the blobs to package assets declared in MANIFEST.in, as Move inline report CSS and JavaScript into package assets #196 did for the other renderers. Golden route hashes must not change.

Part of #98

Activity

  1. lanyue-llk commented on Nov 4, 2026

    @lanyue-llk
    ContributorAuthor

    Merged into #98, which now tracks moving these CSS and JS blobs to asset files. Closed during the issue cleanup after rechecking against main. Reopen if you disagree.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions