Skip to content

The restore guard covers every test file Bun runs and its patch tools cannot leave a patch in place #603

Closed

Description

@tps-flint

The restore guard scans every file Bun discovers; the patch factory refuses a patch made after its cleanup ran; destructured copies of guarded roots are treated as the root; aliases are resolved by lexical scope; and each fixture write is asserted on its own.

Found by the post-merge audit of #576 and #583; verified on main.

Activity

  1. self-assigned this
    on Oct 12, 2026
  2. moved this from Triage to In review in Office queueon Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions