Skip to content

[AW Top 10] 01 Keep Go tests from enumerating process environment #76786

Done

Description

@github-actions

Priority 1/10 | 7 source issues | Impact 4/5 | Confidence 4/5 | Effort 2/5

One assignment, one coherent fix

Two Go tests enumerate the full process environment with os.Environ, which the agent sandbox policy blocks, so Daily Go Test Parallelizer runs stop before any test executes.

Implementation scope

Replace the os.Environ enumeration in pkg/console/stream_contract_test.go and pkg/parser/import_input_substitution_test.go with an explicit allowlist of the variables each probe needs, leaving the probe behavior unchanged.

Done when

  • go test ./... completes in the agent sandbox without enumerating the process environment.
  • The stream contract and import-input diagnostic tests still assert the same behavior.

Why now

Six Daily Go Test Parallelizer runs and one parent investigation report this block, and both enumeration sites were verified in the repository. Impact is high because the parallelizer cannot validate changes, and the fix is local to two tests. The exact sandbox rule is agent-declared and not independently verified.

AW source issues and corroborating reports

#76605 #76624 #76703 #76717 #76746 #76780 #76761

No corroborating AW discussion; evidence comes from the source issues.

Unchanged AW sources close only after this summary is completed. Newer source activity and not-planned retirement do not trigger source closure. Assigned summaries are frozen; unassign to allow reclustering.

Generated by AW Essential Issue Clustering · copilot · routed: haiku55 xhigh · ~30 AIC · ⌖ ~2 AIC · ⊞ 5K · ◷

Activity

  1. added
    cookie
    aw-essential
    on Nov 11, 2026
  2. github-actions commented on Nov 11, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster selected this for Copilot

    I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.

    If assignment succeeds, Copilot will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    🍪 Om nom nom by Issue Monster · pi · gpt50 · ~1 AIC · ⌖ ~1 AIC · ⊞ 10.7K · ◷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

agentic-workflowsautomationaw-essentialcookie

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions