Repository navigation
chore: sync actions from [email protected] - #293
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Failure reporting can omit captured diagnostics or misclassify conversation and tool output as driver failures.
3 open issues
What changed in this PR
Syncs the action runtime with gh-aw v0.93.5, adding failure diagnostics, shared parsing helpers, and container dependency updates.
Changes:
- Adds driver-error classification, per-attempt summary logging, and richer incomplete-output reports.
- Updates conclusion-admission parsing and corrects a cache documentation link.
- Raises dependency minimums in the safe-output container.
| File | Description |
|---|---|
setup/js/write_daily_aic_usage_cache.cjs |
Corrects the cache-path constant link in JSDoc. |
setup/js/process_runner.cjs |
Logs classified diagnostics for failed process attempts. |
setup/js/empty_output_outcome.cjs |
Adds exit-code explanations and driver-failure summaries. |
setup/js/Dockerfile.safe-outputs-mcp |
Updates Undici and Brotli dependency requirements. |
setup/js/conclusion_admission.cjs |
Uses shared JSONL helpers for session validation. |
setup/js/agent_execution.cjs |
Adds driver diagnostic categories and summary-record definitions. |
Review effort: Max
| if (engineSummary) diagnostics.add(engineSummary); | ||
| const driverExitSignal = crashSignalNameForExitCode(driverExitCode) ?? ({ 130: "SIGINT", 137: "SIGKILL", 143: "SIGTERM" }[driverExitCode] || undefined); | ||
| let driverStderrSummary = ""; | ||
| let capturedStderrSummary = ""; |
Comment on lines
+330
to
+331
| const finalDiagnosticWindow = safeStdio.slice(-8000).split(/\r?\n/).slice(-20).join("\n"); | ||
| const evidence = collectAgentErrorEvidence(finalDiagnosticWindow, events, rawSourceEngine); |
Comment on lines
+589
to
+599
| const lines = stdout.slice(-8000).split(/\r?\n/).slice(-20); | ||
| const rawSourceEngine = env.GH_AW_ENGINE_ID === "aider" ? "aider" : undefined; | ||
| for (const line of lines.reverse()) { | ||
| const category = classifyDriverStderr(line); | ||
| if (category === "process_startup") return category; | ||
| if (rawSourceEngine && line.trimStart().startsWith("{")) { | ||
| const diagnostic = agentErrorDiagnosticText(line, [], rawSourceEngine); | ||
| const attributedCategory = classifyDriverStderr(diagnostic); | ||
| if (diagnostic && !["no_output", "unclassified"].includes(attributedCategory)) return attributedCategory; | ||
| } | ||
| } |
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.

Automated sync of actions from gh-aw at
v0.93.5.