Repository navigation
docs(e2e): name the Host-backed suites and the prewarm paths - #2659
Merged
Merged
Conversation
Three context-stack suites had scenarios and scripts but were never named as Host-backed, so nothing recorded that the JS job cannot prove them. The JS job matches `session-context-default.test.mjs` through its test glob without building the Rust binary, which means the saved-default restart assertion is skipped there and a green JS job reads as coverage it never provided. State in the test plan that the collaboration, completion-batch and session-context default suites are Host-backed, and that a green JS job alone is not evidence for them. Also name the automated paths the session context card scenario already relied on but left implicit: the prewarm eligibility check, the standby user path, and the file-routing path. The matching CI change ships separately because it touches `.github/workflows/ci.yml`, which needs the `workflow` token scope.
Deploying pi-desktop with
|
| Latest commit: |
7c961a5
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b15d721e.pi-desktop.pages.dev |
| Branch Preview URL: | https://test-ci-host-backed-e2e.pi-desktop.pages.dev |
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
Record which context-stack E2E suites are Host-backed, and name the automated
paths the session context card scenario already relied on.
Why
Three suites have scenarios, scripts and green local runs, but nothing said they
need a built Host. The JS job matches
session-context-default.test.mjsthroughnode --test test/*.test.mjswhile never building the Rust binary, so itssaved-default restart assertion is skipped there — a green JS job reads as
coverage it never provided.
e2e-session-collaboration.mjsande2e-session-completion.mjsare not referenced by any job at all.scripts/e2e-session-collaboration.mjsE2E-PLUGIN-session-orchestrator-real-workers,E2E-SESSION-independent-top-level-communicationscripts/e2e-session-completion.mjsE2E-SESSION-completion-notice-allows-silence(incl. completion batches)apps/desktop/test/session-context-default.test.mjsE2E-SESSION-CONTEXTValidation (local, with a built Host)
node scripts/e2e-session-collaboration.mjs— 11 PASSnode scripts/e2e-session-completion.mjs— 6 PASS, including two compatiblequeued reports producing one preview, one parent input and one turn, with each
receipt still independently queryable
node --test apps/desktop/test/session-context-default.test.mjs— 3/3 withskipped 0, so the restart assertion actually ranpnpm docs:check— 539 pages passFollow-up (not in this PR)
The CI wiring that runs those three suites lives in
.github/workflows/ci.ymland is ready, but pushing a workflow change needs the
workflowtoken scope,which the current GitHub login does not have. Recommend running them in the
rust-windowsjob, next to the existing transcript-cache Host E2E, since thatjob is the only one that builds
pi-desktop-host-core.