Resolve #2890: improve the React typegen testing loop - #2900
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add deterministic check and watch workflows for React page type generation, atomic versioned artifacts, and a canonical consumer testing recipe without introducing a source scanner or client route matcher.
Linked context: Closes #2890
Changes
fluo typegen --checkbehavior with stable results and exit semanticsHandlerDescriptor/createReactPageCatalog(...)ownership@fluojs/cliand@fluojs/reactTesting
pnpm build && pnpm typecheckpnpm verify:release-readinesspnpm verify:public-export-tsdocpnpm docs:sync-checkpnpm verify:platform-consistency-governancepnpm verify:changeset-release-lane -- --lane=stable --base-ref=a7cffb16git diff --checkThe optional no-excuse tool could not run because it requires
typescript/unstable/*APIs unavailable in the repository'stypescript@6.0.2; canonical build, typecheck, tests, docs, governance, public TSDoc, and release-readiness checks passed.Release impact
Public export documentation
@param/@returnstags where applicable.@exampleblocks and README scenario examples still play complementary roles.Behavioral contract
Generation remains based on bootstrapped HTTP descriptors and the React page catalog. Check/watch workflows do not scan source routes or create a runtime matcher.
Platform consistency governance (SSOT)
createPlatformConformanceHarness(...)for platform component contracts orcreateHttpAdapterPortabilityHarness(...)for HTTP adapter portability contracts.No platform adapter contract changes. EN/KO toolchain and testing contracts remain synchronized and are backed by focused process and browser tests.