You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make workspace test-range scanning robust to braces in Rust literals #1022
followupsmall operational follow-up surfaced by an investigation; not a parity epic or a docs findingprunedClosed in the 2026-11-26 board prune; not needed for the source-independent tool
The workspace asset guard in rust/crates/er-entity-gen/tests/workspace_self_contained.rs finds #[cfg(test)] ranges by counting raw {/} bytes, including bytes inside strings, char literals and comments. During #1019, an escaped opening brace in a new TypeScript-contract test caused the guard to report the pre-existing test-only include_str!("../../../../frontend/src/lib/api/openapi.json") as shipping code. The local make check failure named openapi.rs:148. The regression test was rewritten with an explicit object-prefix check, keeping its semantics and the guard unchanged.
Acceptance criteria
Identify test-only items with Rust-aware token/syntax handling rather than raw brace counts; preserve fail-closed behavior for malformed/unsupported source.
Add failing-then-passing cases for escaped format braces, raw strings, char literals and comments, and ensure real non-test includes outside the workspace are still rejected even beside those cases.
Retain the existing scan self-check and workspace-boundary assertions. Run make check.
This is independent test-harness hardening, not a missing part of the column-visibility implementation. Evidence: /tmp/visibility-boundary-red.log (preserved failing run), and the known source scanner implementation; #1019 records the observed failure.
Closed in the second 2026-11-26 board prune. The board now targets only the API that customers use to build their own deduplication tooling. Everything else is bonus, and this card is one of those. It's labelled pruned and can be reopened later.
followupsmall operational follow-up surfaced by an investigation; not a parity epic or a docs findingprunedClosed in the 2026-11-26 board prune; not needed for the source-independent tool
Activity
athvin commentedon Nov 27, 2026
Closed in the second 2026-11-26 board prune. The board now targets only the API that customers use to build their own deduplication tooling. Everything else is bonus, and this card is one of those. It's labelled
prunedand can be reopened later.