Skip to content

runtime: honor zero sandbox verbosity - #3451

Closed
adilalperenciftci wants to merge 1 commit into
aether-lang-dev:mainfrom
adilalperenciftci:fix/sandbox-verbose-zero
Closed

adilalperenciftci wants to merge 1 commit into
aether-lang-dev:mainfrom
adilalperenciftci:fix/sandbox-verbose-zero

Conversation

@adilalperenciftci

Copy link
Copy Markdown
Contributor

Summary

I traced unexpected sandbox stderr output to the legacy verbosity override. spawn_sandboxed supplies AETHER_SANDBOX_VERBOSE=0 for quiet children, but the preload constructor treated any defined value as enabled and replaced the selected log mode with stderr.

This change applies the legacy override only when the value is exactly 1. The default zero value now preserves AETHER_SANDBOX_LOG, while the documented enabled value remains unchanged.

Verification

  • BEFORE: AETHER_SANDBOX_VERBOSE=0 emitted the active-sandbox diagnostic on stderr.
  • AFTER: 0 stays quiet and 1 enables stderr diagnostics.
  • sh tests/integration/sandbox_verbose_flag/test_sandbox_verbose_flag.sh
  • sh tests/integration/sandbox_child_signal_safe/test_sandbox_child_signal_safe.sh
  • make check-changelog
  • make check-tests
  • make test (634 passed)

Signed-off-by: Adil Alperen Çiftci adilalperenciftci@users.noreply.github.com

Signed-off-by: Adil Alperen Çiftci <adilalperenciftci@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 29, 2026 09:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@paul-hammant

Copy link
Copy Markdown
Collaborator

Thanks @adilalperenciftci! This landed in #3474, which batched nine of your PRs and merged on 2026-10-30 (ca1dae7d). Your commit went in unchanged with your authorship, so this PR is superseded, and I'm closing it.

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.

4 participants