test(cli): cover remaining global and credentials adapters - #2942
Merged
Conversation
This reverts commit 4ebeae4.
This was referenced May 4, 2026
cv
added a commit
that referenced
this pull request
May 5, 2026
## Summary Replace the file-level coverage ignore on sandbox log actions with tested pure helpers and narrow ignores around subprocess-only paths. ## Stack Navigation - Position: 42 of 60 - Previous PR: [#2939 — refactor(cli): split share oclif commands](#2939) - Next PR: [#2942 — test(cli): cover remaining global and credentials adapters](#2942) ## Changes - Removed the broad V8 ignore from `sandbox-logs-action.ts`. - Exported and tested pure log option normalization and argv-building helpers. - Added narrow V8 ignores only around process-exit, OpenShell subprocess, and follow-streaming boundaries still covered by CLI subprocess tests. - Added helper coverage for log probe result descriptions and probe timeout environment handling. ## Type of Change - [x] Code change (feature, bug fix, or refactor) - [ ] Code change with doc updates - [ ] Doc only (prose changes, no code sample modifications) - [ ] Doc only (includes code sample changes) ## Verification - [x] `npx prek run --all-files` passes - [x] `npm test` passes - [x] Tests added or updated for new or changed behavior - [x] No secrets, API keys, or credentials committed - [ ] Docs updated for user-facing behavior changes - [ ] `make docs` builds without warnings (doc changes only) - [ ] Doc pages follow the [style guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md) (doc changes only) - [ ] New doc pages include SPDX header and frontmatter (new pages only) --- Signed-off-by: Carlos Villela <cvillela@nvidia.com> --------- Signed-off-by: Carlos Villela <cvillela@nvidia.com> Co-authored-by: Prekshi Vyas <34834085+prekshivyas@users.noreply.github.com>
cv
marked this pull request as ready for review
May 5, 2026 22:07
cv
changed the base branch from
refactor/narrow-sandbox-logs-coverage-ignore
to
main
May 5, 2026 22:07
cv
enabled auto-merge (squash)
May 5, 2026 22:07
Signed-off-by: Carlos Villela <cvillela@nvidia.com>
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.
Summary
Remove broad coverage ignores from the remaining simple global oclif adapters and the credentials adapter, then cover their parser-to-action mappings directly.
Stack Navigation
Changes
credentials reset --yes.Type of Change
Verification
npx prek run --all-filespassesnpm testpassesmake docsbuilds without warnings (doc changes only)Signed-off-by: Carlos Villela cvillela@nvidia.com
Summary by CodeRabbit
Tests
Chores