Skip to content

[docs] docs: unbloat troubleshooting/debugging.md - #72536

Merged
pelikhan merged 1 commit into
mainfrom
docs/unbloat-debugging-fe5adc4203e19f63
Oct 28, 2026
Merged

pelikhan merged 1 commit into
mainfrom
docs/unbloat-debugging-fe5adc4203e19f63

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Summary

Condensed docs/src/content/docs/troubleshooting/debugging.md (one file). Reduction is modest, about 250 words (~10%), below the 20% target.

  • Failure clusters: merged dense paragraphs and removed repeated caveats about shares and causality.
  • Sandbox shell commands: tightened safeoutputs payload guidance and merged the stdin and denial notes. The example command is unchanged.

All commands, links, and warnings are preserved.

🗜️ Compressed by Documentation Unbloat · pi · sonnet55 · ~12 AIC · ⌖ ~19 AIC · ⊞ 1.6K · ◷
Comment /unbloat to run again

  • expires on Oct 29, 2026, 4:54 PM UTC-08:00
@github-actions github-actions Bot added automation doc-unbloat documentation Improvements or additions to documentation labels Oct 28, 2026
@pelikhan
pelikhan marked this pull request as ready for review October 28, 2026 01:14
Copilot AI max review requested due to automatic review settings October 28, 2026 01:14
@pelikhan
pelikhan merged commit e75f0a2 into main Oct 28, 2026
2 checks passed
@pelikhan
pelikhan deleted the docs/unbloat-debugging-fe5adc4203e19f63 branch October 28, 2026 01:15
@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Test Quality Sentinel · haiku45 · ~8 AIC · ⌖ ~8 AIC · ◇ ~3 AIC · ⊞ 8.9K · ◷

🧪 Test quality analysis by Test Quality Sentinel

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.

🟡 Changes recommended

The condensed guidance omits the stdin permission caveat, preference for inline JSON, and specific log comparisons needed to troubleshoot intermittently missing commands.

2 open issues
What changed in this PR

Condenses gh-aw’s debugging guide, focusing on failure-investigation reports and missing commands inside agent sandboxes. This is a documentation-only change.

Changes:

  • Shortens failure-cluster selection, metadata, and statistics explanations.
  • Tightens sandbox troubleshooting and consolidates safe-output payload, stdin, and shell-denial guidance.
  • Leaves command examples unchanged.
File Description
docs/​src/​content/​docs/​troubleshooting/​debugging.md Condenses failure-analysis and sandbox troubleshooting prose.

Review effort: Max

`command not found` for `jq` or `safeoutputs` is different from an unavailable MCP tool. The setup message `Successfully copied ... safe-outputs files` confirms that server scripts were copied to the runner. It does not confirm that the CLI wrapper was mounted or that its interpreter and directory are available on the agent's `PATH`.

For intermittent failures, compare one successful and one failing run from the same workflow and deployment. Retain both run URLs, the gh-aw and engine versions, the exact `sandbox:` block, and the generated lock-file image, mounts, and `PATH` configuration. Compare setup, MCP startup, CLI mounting, and agent launch logs. Different self-hosted runner images, custom sandbox images, missing mounts, or shell startup files that reset `PATH` are possible causes, not proof of a provisioning race.
For intermittent failures, compare one successful and one failing run from the same workflow: run URLs, gh-aw and engine versions, the `sandbox:` block, and the lock file's image, mounts, and `PATH`. Different self-hosted runner images, custom sandbox images, missing mounts, or shell startup files that reset `PATH` are possible causes, not proof of a provisioning race.
For intermittent failures, compare one successful and one failing run from the same workflow: run URLs, gh-aw and engine versions, the `sandbox:` block, and the lock file's image, mounts, and `PATH`. Different self-hosted runner images, custom sandbox images, missing mounts, or shell startup files that reset `PATH` are possible causes, not proof of a provisioning race.

Check `command -v safeoutputs` in the **agent's shell** when permitted, not just in a runner setup step. If the CLI is unavailable, use direct safe-output MCP tools only when the engine exposes them. CLI payloads do not require a separate serializer: pass one single-quoted JSON object, encoding newlines as `\n`, double quotes as `\"`, backslashes as `\\`, and apostrophes as `\u0027`. Unicode can remain literal.
Check `command -v safeoutputs` in the **agent's shell** when permitted, not just in a runner setup step. If the CLI is unavailable, use direct safe-output MCP tools only when the engine exposes them. CLI payloads take one single-quoted JSON object (encode newlines as `\n`, double quotes as `\"`, backslashes as `\\`, apostrophes as `\u0027`), or stdin via `safeoutputs <tool_name> .`:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation doc-unbloat documentation Improvements or additions to documentation

2 participants