feat(verify): add consolidated end-of-run summary report#35
Merged
Conversation
Collect each conformance layer's pass/fail and duration as it runs and print a single report after teardown, so results stay on screen without scrolling back through phase output. The report also lists the seamless package versions under test (source versions for --local, declared pins for released runs) and an overall verdict.
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.
What
seamless verifynow prints a single consolidated summary report at the very end of a run, so you no longer have to scroll back through phase output to see how each layer did.The report includes:
--localruns (@seamless-auth/core,/express,/react), or the declared pins for released runs (@seamless-auth/expressfrom the adapter-app,@seamless-auth/reactfrom each web template), plus the sourceseamless-auth-apiversion in both modes.It is printed after teardown so it stays on screen. The existing live per-phase output (build logs, Playwright grids) is unchanged and still streams as the run progresses.
Why
The only end-of-run output before was a single pass/fail line, and teardown noise printed after it, so the result got pushed off screen on any real run. This gives a stable, scannable recap in one place.
Implementation notes
runLayer()helper that times it and records the outcome; the sharedfailedflag is unchanged.Verify aborted: <message>.Testing
npm run build(tsc) passes.seamless verifyend to end: exit 0, all three layers pass (API / adapter,react-viteall flows,react-oauthscoped to@oauth).