Skip to content

Add last_known_good_deps so error state cards have prerendered CSS#3942

Draft
backspace wants to merge 9 commits intomainfrom
last-known-good-deps-cs-10146
Draft

Add last_known_good_deps so error state cards have prerendered CSS#3942
backspace wants to merge 9 commits intomainfrom
last-known-good-deps-cs-10146

Conversation

@backspace
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Feb 3, 2026

Host Test Results

    1 files  ±0      1 suites  ±0   1h 44m 59s ⏱️ -33s
1 941 tests ±0  1 924 ✅ ±0  17 💤 ±0  0 ❌ ±0 
1 956 runs  ±0  1 939 ✅ ±0  17 💤 ±0  0 ❌ ±0 

Results for commit 2b45e1c. ± Comparison against base commit bcc525f.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Feb 3, 2026

Preview deployments

backspace and others added 5 commits February 3, 2026 12:51
The test was timing out because breaking a module alone doesn't
automatically trigger re-indexing of dependent instances. Adding
a PATCH request to the instance forces it to re-index and encounter
the broken module, causing it to enter an error state as expected.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The BoxelIndexTable type now requires the last_known_good_deps field,
so test assertions comparing against this type need to include it.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
PATCH validates the card against the module, which fails when the
module is broken. Using a raw JSON write via POST with
application/vnd.card+source bypasses validation and triggers
re-indexing, which then encounters the broken module.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Instead of breaking the module and hoping the error propagates to
the instance, make the instance reference a non-existent module.
This directly causes the instance to fail indexing and is more
reliable than relying on module dependency propagation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant