Repository navigation
Conversation
Fixes DiffCI#189 Signed-off-by: FredApps <[email protected]>
…xactly bun test Refs DiffCI#189 Signed-off-by: FredApps <[email protected]>
|
Cross-review (FredApps, head 6511637). Not an approval. Checked
Fixed: 6511637
Open
|
…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]>
* test(cli): build dist-client once instead of in every test file Fixes #192 Signed-off-by: FredApps <[email protected]> * chore: move the release-files.json entry so it merges cleanly with #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]> --------- Signed-off-by: FredApps <[email protected]>
|
Thanks. This one fails on Windows: both new tests in The backslash comes from existing code: Also a heads-up: #293 changes the same block of |
bun test is Bun's own test runner and ignores scripts.test, so a Bun repository's full command skipped the package's real tests. It is now bun run test, and the workflow audit treats bun test as the same only when scripts.test is exactly bun test. Fixes #189. Signed-off-by: FredApps <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Fixes #189
Changed behavior
inferFullCommandnow returnsbun run testfor a Bun repository, whether Bun is chosen frompackageManageror from abun.lock/bun.lockblockfile.bun teststarts Bun's built-in test runner and ignoresscripts.test;bun run testruns the script, which is what the full command is meant to be.normalizeTestCommandinworkflow-guard.tsno longer treatsbun testas the same command asnpm test. Only the npm, pnpm and Yarn spellings, which all run the test script, are treated as equivalent.Validation
tests/client/bun-full-command.test.tsis new. It fails onmain(bun testis returned) 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.Merge order with #293: both edit the package-manager block of
inferFullCommand(#293 moves it under anelse), so whichever lands second needsmainmerged in; I will do that when the first lands. The resolution is #293'selsestructure with #199'sbun run testlines; I checked it in a local merge of all our open PRs.