Skip to content

Move to Cratis.Arc.Screenplay 21.14.2 - #69

Merged
woksin merged 1 commit into
mainfrom
chore/bump-arc-screenplay-21.14.2
Aug 14, 2026
Merged

Move to Cratis.Arc.Screenplay 21.14.2#69
woksin merged 1 commit into
mainfrom
chore/bump-arc-screenplay-21.14.2

Conversation

@woksin

@woksin woksin commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Fixed

  • cratis screenplay generate no longer captures projections declared inside specifications as though the application shipped them, which made a read model appear to be built more than once and stopped the generated document from compiling.

The generator in 21.2.0 captured projections declared inside specifications
as though the application shipped them, which made a real application's
document fail to compile and stopped it at the door of Studio's import.
Fixed in Arc 21.14.2.
@woksin woksin added the patch label Aug 14, 2026
@woksin

woksin commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator Author

One line of Directory.Packages.props. Measured on Ada — a real 241-slice application, 3,081 files — by generating with each version from the same checkout and validating the result:

21.2.0 (main) 21.14.2
screenplay generate exit 5 0
capture errors 2 × PLAY0191 0
screenplay validate Validation reported 2 error(s) diagnostics: 0
document 14,132 lines, does not compile 14,132 lines, compiles

Both PLAY0191 said Read model 'UserAccessPolicy' is built more than once. Studio will not parse a document with errors, so the whole generate → import path stopped at the door — this was the only thing blocking it.

The upstream fix is Arc PR #2546: ArtifactCatalog walked every nested type, so a projection declared inside a specification to assert something about the real projection's contract was captured as though the application shipped it. Two of those in Ada each gave UserAccessPolicy an extra builder.

On the version choice: Cratis.Arc.Screenplay versions cannot be picked by order — some 21.x still require Cratis.Screenplay 1.x. 21.14.2's nuspec declares Cratis.Screenplay 2.1.0, which is what this repo already pins, so nothing else moves.

Build and specs: dotnet build -c Release zero warnings, 436 specs green — same as the baseline on main.

@woksin
woksin merged commit 7fb87bc into main Aug 14, 2026
1 check passed
@woksin
woksin deleted the chore/bump-arc-screenplay-21.14.2 branch August 14, 2026 00:21
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