-
Notifications
You must be signed in to change notification settings - Fork 3.1k
test(cli): align version check timeout #11322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -121,7 +121,7 @@ function readCliInvocations(fixture: CliParityFixture): string[] { | |
| } | ||
|
|
||
| describe("public compiled CLI contracts", () => { | ||
| it("prints the public NemoClaw version prefix (#7616)", () => { | ||
| it("prints the public NemoClaw version prefix (#7616)", { timeout: 35_000 }, () => { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: #!/bin/bash
set -euo pipefail
rg -n -C 6 \
'testTimeout|NEMOCLAW_TEST_TIMEOUT|public NemoClaw version prefix' \
test/helpers/timeouts.ts \
test/package-contract/cli/public-cli-contracts.test.tsRepository: NVIDIA/NemoClaw Length of output: 2300 🤖 get_repo_knowledge executed:
Length of output: 47550 🏁 Script executed: #!/bin/bash
set -euo pipefail
sed -n '1,45p' test/helpers/timeouts.ts
sed -n '1,145p' test/package-contract/cli/public-cli-contracts.test.ts
rg -n -C 3 'testTimeoutOptions|testTimeout\(' test --glob '*.{ts,js,mts,mjs,cts,cjs}'Repository: NVIDIA/NemoClaw Length of output: 50372 Preserve the shared test-timeout override. Use 🤖 Prompt for AI Agents |
||
| const result = spawnSync(process.execPath, [CLI_ENTRYPOINT, "--version"], { | ||
| cwd: REPO_ROOT, | ||
| encoding: "utf-8", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win
Assert that the glibc archive is selected.
This check only rejects
linux-x64-muslarchives. It still passes iflockedArchivesreturns only generic archives or another non-musl platform archive. Add a positive assertion for the expected Linux x64/glibc archive from this lockfile. Keep the musl exclusion assertion.🤖 Prompt for AI Agents