Skip to content

[code-documentation] Document sandbox timeout options - #257

Merged
Pedro Henrique Penna (ppenna) merged 1 commit into
devfrom
code-documentation/sandbox-timeouts-36590525014-0a07dc84ddf48555
Sep 29, 2026
Merged

Pedro Henrique Penna (ppenna) merged 1 commit into
devfrom
code-documentation/sandbox-timeouts-36590525014-0a07dc84ddf48555

Conversation

@ppenna

Copy link
Copy Markdown
Contributor

Summary

Documents the existing sandbox timeout controls in the command-line reference:

  • --timeout bounds managed start, exec, and stop control responses and defaults to 60 seconds.
  • --exec-timeout-ms bounds the managed exec guest workload and defaults to disabled (0).

Evidence

The doc/usage.md sandbox section previously omitted both options from its synopsis and option table. scripts/nvx.py defines both parser options and their defaults, then passes --timeout to managed start, exec, and stop and --exec-timeout-ms to the managed guest workload.

This is not a duplicate or rejected proposal: recent documentation PRs #242, #246, and #247 covered managed operation names, benchmark scratch storage, and workload identity respectively and were merged without maintainer objections. Open PR #110 changes only guest build/source sections in doc/usage.md; open PRs #249 and #255 do not change documentation. Issue #229 tracks sandbox end-to-end testing rather than this command-reference omission.

Scope

  • Changed doc/usage.md only.
  • Added 4 lines and deleted 0 lines (4 total changed lines).
  • Checked command: python3 scripts/nvx.py sandbox --help.
  • Checked source paths: scripts/nvx.py and scripts/test_nvx_tools.py.
  • No links were added or changed.

Validation

  • python3 scripts/nvx.py sandbox --help — passed; both options and defaults are present.
  • python3 -m unittest scripts.test_nvx_tools.CliTests.test_sandbox_command_parses_state_aware_operations -v — passed (1 test).
  • git diff --check — passed.
  • git diff --numstat / git diff --raw — confirmed one documentation file, 4 changed lines, and no gitlink.

No dependency, public API/CLI/ABI, gitlink, or OpenVMM change was made.

Generated by code-documentation · copilot · gpt56 · 120.8 AIC · ⌖ 30.1 AIC · ⊞ 16.3K · ◷

  • expires on Oct 13, 2026, 3:35 PM UTC

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 29, 2026 15:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The documentation accurately matches the sandbox parser defaults and managed lifecycle usage.

Review effort: Balanced
Findings: None

What changed in this PR

Documents existing sandbox timeout controls in the CLI reference.

Changes:

  • Adds both timeout options to the sandbox synopsis.
  • Documents their defaults, scope, and disabled behavior.
File Description
doc/​usage.md Documents managed control and guest workload timeouts.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ppenna
Pedro Henrique Penna (ppenna) marked this pull request as ready for review September 29, 2026 18:28
@ppenna
Pedro Henrique Penna (ppenna) merged commit 10b3d56 into dev Sep 29, 2026
38 checks passed
@ppenna
Pedro Henrique Penna (ppenna) deleted the code-documentation/sandbox-timeouts-36590525014-0a07dc84ddf48555 branch September 29, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants