Skip to content

Support Arc 21 - #114

Merged
einari merged 1 commit into
mainfrom
feat/support-arc-21
Aug 7, 2026
Merged

Support Arc 21#114
einari merged 1 commit into
mainfrom
feat/support-arc-21

Conversation

@einari

@einari einari commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Changed

  • The component library now works with Arc 21 as well as Arc 20, so applications are no longer held on the Arc 20 line. This is what Cratis Chronicle 16.18.0 and newer require.

Fixed

  • Specs that mock the same module no longer interfere with each other, which had made dialog-closing specs fail intermittently.

Widen the @cratis/arc and @cratis/arc.react peer ranges to accept 21 alongside
20, so consumers are not held on the 20 line. Arc 21 is what Cratis.Chronicle
16.18.0 and newer require, and this peer was what prevented Studio from taking
either.

Turn Vitest isolation back on. Five spec files mock @cratis/arc.react/dialogs
with their own spies, and with a shared module graph whichever file loaded first
won while the others observed zero calls. That surfaced under Arc 21 as an
intermittent "expected one closeDialog call, got 0" - 2 failures in 6 runs.
With isolation the suite is 5 for 5 and still finishes in about six seconds.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@einari einari added the minor label Aug 7, 2026
@einari
einari merged commit c5f9902 into main Aug 7, 2026
5 checks passed
@einari
einari deleted the feat/support-arc-21 branch August 7, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant