Skip to content

Colour-space views and stream decode caches miss removals behind indirect references #305

Closed

Description

@michaelstonis

Parent

#231 → #33 Spec: Broadside v1

What is wrong

Low priority, found by #303/#304. (1) ColorSpaceCache._spaces keeps a colour-space view whose family was chosen through a reference (e.g. [/ICCBased 6 0 R]) after that object is removed; stamping it naively would rebuild every view after each AddObject and defeat the converter cache and per-render reference checks. (2) Stream decode caches miss a removal when Filter or DecodeParms is an indirect reference.

Spec clauses

ADR 0004 (live views)

Notes

Deliberately deferred to hardening (owner: don't get stuck on non-critical issues).

Acceptance criteria

  • A design for (1) that keeps view identity stable for unaffected spaces while rebuilding ones whose resolved references changed.
  • (2) handled by stamping decode-cache entries only when Filter/DecodeParms are indirect.
  • Tests per case; rendering allocation tests stay green.

Blocked by

Deliverables (every ticket)

  • A failing test first that reproduces the defect, through the public seam
  • XML docs citing clauses on public types touched
  • Conformance map rows updated in the same PR
  • PublicAPI.Unshipped.txt updated if the public surface changes

Activity

  1. added
    bug
    area:cos
    ready-for-agent
    phase:7
    track:7B-hardening
    on Oct 14, 2026
  2. added
    in-progress
    on Nov 14, 2026
  3. michaelstonis commented on Nov 17, 2026

    @michaelstonis
    OwnerAuthor

    Merged into spec/33-broadside-v1 via #537.

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

Metadata

Metadata

Assignees

Labels

area:cosbugin-progressphase:7ready-for-agenttrack:7B-hardening

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions