Skip to content

docs: document mirror-agent-logs input for infer-action - #224

Merged
edenreich merged 2 commits into
mainfrom
docs/mirror-agent-logs-223
Jun 14, 2026
Merged

edenreich merged 2 commits into
mainfrom
docs/mirror-agent-logs-223

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Resolves #223

@edenreich

Copy link
Copy Markdown
Contributor

@infer CI is failing, please fix it.

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Jun 14, 2026 •

Copy link
Copy Markdown
Contributor Author

Todos

  • Understand the current state of the PR and CI failure
  • Fix the CI failure (prettier formatting)
  • Verify the fix works

Pull Request

#224

✅ Infer Result: Success

The task is complete. PR #224 now has all the necessary documentation for the mirror-agent-logs input, and the CI failure (prettier formatting) has been fixed and pushed. Both prettier --check and markdownlint pass cleanly.

Model: ollama_cloud/deepseek-v4-flash · Exit Code: 0 · View Job

Tokens: 964,702 in · 5,482 out · 970,184 total (42 requests)

Tool calls: 49 total · 100% success rate

Triggered by edenreich · Infer Action

@edenreich

Copy link
Copy Markdown
Contributor

@claude Can you review this documentation? use /maintainer

Is it ready for merge?

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Jun 14, 2026 •

Copy link
Copy Markdown
Contributor Author

Claude finished @edenreich's task in 3m 47s —— View job


Documentation Review — PR #224

Verdict: ✅ Ready to merge. The docs are accurate, well-structured, follow repo conventions, and all CI checks pass locally.


What this PR does

Documents the mirror-agent-logs input for infer-action in github-action.md:

  • Adds a row to the Inputs table (line 118), placed sensibly next to enable-git-operations.
  • Adds a dedicated Agent log mirroring section (lines 378–401) with security rationale, what stays visible when suppressed, and a YAML example.

The +51/−25 churn is mostly the Inputs table column widening to fit the new row (prettier reflow) — the substantive additions are the table row and the new section.

Accuracy — verified against source of truth

I cross-checked the docs against inference-gateway/infer-action action.yml (mirror-agent-logs at line 224). Everything matches:

Claim in docs action.yml Match
Required: No required: false ✅
Default: true default: "true" ✅
Mirrors stdout/stderr (tool I/O, file contents, web-fetch payloads) same wording in description ✅
false keeps /tmp/agent-output.txt for the cooking footer "keeping the /tmp/agent-output.txt file that post-results reads" ✅
Minimal heartbeat (ticker + exit code) still prints "A minimal heartbeat (ticker updates, exit code) still prints" ✅

Nice touch: the action's own description uses an em dash; the docs correctly render it as an ASCII hyphen per this repo's ASCII-only convention. The added "Why suppress the log?" security rationale (public-repo log visibility, ::add-mask:: limits) is accurate and adds real value beyond the raw input description.

CI / build — all green locally

  • npm run format:check → ✅ "All matched files use Prettier code style!" (the earlier failure is fixed)
  • npm run lint:md → ✅ clean
  • npm run build → ✅ build complete, pages rendered

I ran the full build specifically to confirm the repo's Vue-interpolation gotcha — the ${{ secrets.GITHUB_TOKEN }} in the example sits inside a fenced ```yaml block (auto-v-pre), and `$GITHUB_STEP_SUMMARY` has no {{ }} mustache, so neither breaks the compiler. ✓

Anchor #agent-log-mirroring resolves to the new heading, and the action pin @v0.10.1 is consistent with the other 8 examples and the "Current Version" callout. No sidebar change needed (it's a sub-section of an existing page; the in-page outline picks it up automatically).

Optional nits (non-blocking — would not hold the merge)

  1. Minor redundancy — the table description and the section intro (line 380) both enumerate the "tool inputs / outputs / file contents / web-fetch payloads" list nearly verbatim. Fine as-is (table = quick ref, section = detail), but the table row could be trimmed to one sentence + the link if you want less duplication.
  2. Cross-link — the new section pairs naturally with Secrets and least-privilege right below it; a one-line "see also" between them could help discoverability. Purely optional.

Neither warrants a change before merge.


Summary: Documentation is correct (verified against infer-action source), idiomatic for this repo, and passes prettier + markdownlint + build. I recommend merging. The two nits above are optional polish only.
· branch docs/mirror-agent-logs-223

@edenreich
edenreich merged commit 663c471 into main Jun 14, 2026
1 check passed
@edenreich
edenreich deleted the docs/mirror-agent-logs-223 branch June 14, 2026 21:48
inference-gateway-releaser Bot pushed a commit that referenced this pull request Jun 16, 2026
## [0.6.111](0.6.110...0.6.111) (2026-06-16)

### 📚 Documentation

* add MiniMax and Ollama Cloud to provider lists across docs ([#217](#217)) ([8e49e48](8e49e48))
* add MiniMax provider support ([#211](#211)) ([52fc6a9](52fc6a9))
* deprecate Helm deployment in favor of the Kubernetes Operator ([#218](#218)) ([5e8e652](5e8e652))
* document mirror-agent-logs input for infer-action ([#224](#224)) ([663c471](663c471))
* document operator OIDC auth (spec.auth.oidc, caCertRef) ([#216](#216)) ([c5a6a74](c5a6a74))
* document opt-in OpenTelemetry inputs for infer-action ([#230](#230)) ([8009197](8009197))
* document run-duration-ms output and Duration footer ([#227](#227)) ([cb80ee3](cb80ee3))
* migrate kubernetes guidance to gateway api routing ([#220](#220)) ([49bacd6](49bacd6))

### 🔧 Miscellaneous

* **deps-dev:** bump the npm group with 3 updates ([#222](#222)) ([d857772](d857772))
* **deps:** bump claude-code 2.1.161 -> 2.1.170 ([#225](#225)) ([98dbd8c](98dbd8c))
* **deps:** bump infer CLI v0.121.0 -> v0.121.1, infer-action v0.12.1 -> v0.13.1 ([#228](#228)) ([74405e2](74405e2))
* **deps:** bump the github-actions group with 2 updates ([#221](#221)) ([386f570](386f570))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.6.111 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Document the mirror-agent-logs input for infer-action

1 participant