Repository navigation
test(cli): build dist-client once instead of in every test file - #202
Merged
adityankale190895 merged 2 commits intoNov 18, 2026
Merged
Conversation
Fixes DiffCI#192 Signed-off-by: FredApps <[email protected]>
This was referenced Nov 17, 2026
Contributor
Author
|
Cross-review (FredApps, head 61f1204). Not an approval. Checked
Fixed: nothing needed. Open
|
This was referenced Nov 17, 2026
…ffCI#199 The manifest is an unordered set, and the PRs listed above add their entries at the same line. Moving this entry one line away lets them merge in either order without a conflict. Signed-off-by: FredApps <[email protected]>
FredApps
added a commit
to FredApps/core
that referenced
this pull request
Nov 18, 2026
…ffCI#202 The manifest is an unordered set, and the PRs listed above add their entries at the same line. Moving this entry one line away lets them merge in either order without a conflict. Signed-off-by: FredApps <[email protected]>
FredApps
added a commit
to FredApps/core
that referenced
this pull request
Nov 18, 2026
…#192, fixed by DiffCI#202) Signed-off-by: FredApps <[email protected]>
FredApps
marked this pull request as ready for review
November 18, 2026 01:08
adityankale190895
pushed a commit
that referenced
this pull request
Nov 18, 2026
…fix (#240) * test(cli): match the verify usage line that lists --staged and --paths Fixes #193 Signed-off-by: FredApps <[email protected]> * test(cli): find the npm-cli.js npm runs, not one under its global prefix Fixes #196 Signed-off-by: FredApps <[email protected]> * ci: re-run checks after the Windows Rust temp-dir flake Refs #193 Signed-off-by: FredApps <[email protected]> * chore: move the release-files.json entry so it merges cleanly with #202 The manifest is an unordered set, and the PRs listed above add their entries at the same line. Moving this entry one line away lets them merge in either order without a conflict. Signed-off-by: FredApps <[email protected]> --------- Signed-off-by: FredApps <[email protected]>
adityankale190895
pushed a commit
that referenced
this pull request
Nov 18, 2026
…ld settings (#229) * fix(rust): treat quoted keys and inline tables in Cargo config as build settings * chore: DCO remediation for 886653d I, FredApps <[email protected]>, hereby add my Signed-off-by to this commit: 886653d Signed-off-by: FredApps <[email protected]> * ci: re-run checks after the Merge gate smoke dist-client race (#192, fixed by #202) Signed-off-by: FredApps <[email protected]> --------- Signed-off-by: FredApps <[email protected]>
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.
Fixes #192
Changed behavior
This changes only tests.
check-plan-cli,plan-cli,mcpandcli-helptests now call a sharedbuildClient()helper intests/helpers/build-client.tsinstead of each runningtsc -p tsconfig.client.jsonintodist-client.The helper takes a directory lock (
dist-client/.test-build-lock) so only one test file builds at a time, and writes a stamp (dist-client/.test-build-stamp) so later files skip the build whensrc,package.jsonand the tsconfig files are unchanged. A test file no longer rewritesdist-clientwhile another test file is running it, which is what caused the intermittentSyntaxErrorin the issue.Validation
tests/client/build-client.test.tsis new. It fails onmain, where test files still builddist-clientthemselves, and passes with this change.npm run typecheckinpackages/diffci-clipasses.npm testinpackages/diffci-cli: the only failures are the two that also fail onmain(CLI tests: cli-agent.test.ts expects the old verify usage line and fails on main #193 and CLI tests: the init --install test looks for npm-cli.js under npm's global prefix #196).release-files.jsonsonpm run audit:boundarystill lists every file.Conflicts: the
build-client.test.tsmanifest entry now sits one line away from #199's, and #240's helper entry moved away from this PR's, so #199, #202 and #240 merge in any order.