Skip to content

ResultsReader re-reads zip getEntries() per method #29

Description

@chrisbendel

In job-results/reader.ts, decode(), extractFile(), and entries() each call this.zipReader.getEntries() separately, re-walking the central directory on every method. Minor for small result zips, but wasteful for large ones.

Fix: cache the entries (alongside the existing decoded/manifest state) and reuse. Low priority / opportunistic.

Surfaced during a tech-debt audit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions