Repository navigation
Labels
Description
Summary
inference-gateway/infer-action shipped a new public input, mirror-agent-logs, in PR #74 (closed issue #67). It needs to be documented on the infer-action inputs reference.
User-facing behavior:
- New boolean input
mirror-agent-logs, default"true"(backward compatible - current behavior is preserved). - When
true(default), the agent's full stdout/stderr transcript (tool inputs, tool outputs, file contents it read, web-fetch payloads, intermediate text) is mirrored to the GitHub Actions run log. - When
false, that transcript is suppressed from the Actions run log. The/tmp/agent-output.txttee is unaffected, so the (redacted) cooking-comment footer and the step summary still render in full. A minimal heartbeat (ticker updates and the exit code) still prints, so the step is not completely silent. - Wired to the runner as the
INFER_MIRROR_AGENT_LOGSenv var.
Why it matters: security-conscious consumers can keep the agent's full transcript out of the persisted run log, which is retained with the workflow run, downloadable as raw logs, and visible to everyone with repo read access (the whole world for public repos). ::add-mask:: only redacts known secret values; this input is a hard off-switch for arbitrary sensitive payloads (private source, customer data in a fetched page, a secret printed by a tool).
Affected pages
- The infer-action inputs reference (the page that lists
model,debug,enable-heuristic-redaction,web-fetch-domains, etc.). Addmirror-agent-logsnext to the other observability / security inputs. - Any "logs, privacy, or security" section for infer-action: note the trade-off (suppressing the transcript vs. losing the live Actions-log view of what the agent did).
Example to add
- uses: inference-gateway/[email protected]
with:
model: anthropic/claude-opus-4-8
github-token: ${{ secrets.GITHUB_TOKEN }}
mirror-agent-logs: false # keep the full agent transcript out of the Actions run logSource
- PR: feat: add mirror-agent-logs input infer-action#74
- Issue: [FEATURE] Add an input to disable mirroring agent logs to stdout infer-action#67
Acceptance Criteria
-
mirror-agent-logsdocumented on the infer-action inputs reference (boolean, defaulttrue). - Security trade-off explained, including that
/tmp/agent-output.txt, the cooking-comment footer, and the step summary are unaffected and that a minimal heartbeat still prints. - Example showing
mirror-agent-logs: falseadded.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Jun 14, 2026
@infer Can you document it? use /maintainer
inference-gateway-maintainer commentedon Jun 14, 2026
Todos
Pull Request
#224
✅ Infer Result: Success
All acceptance criteria from the issue are met:
mirror-agent-logsdocumented on the infer-action inputs reference (boolean, defaulttrue)/tmp/agent-output.txt, the cooking-comment footer, and the step summary are unaffected and that a minimal heartbeat still printsmirror-agent-logs: falseaddedmainThe task is complete.
Model:
ollama_cloud/deepseek-v4-flash· Exit Code:0· View JobTokens: 1,325,150 in · 6,578 out · 1,331,728 total (38 requests)
Tool calls: 36 total · 100% success rate
Triggered by edenreich · Infer Action
inference-gateway-releaser commentedon Jun 16, 2026
🎉 This issue has been resolved in version 0.6.111 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀