Add run logs command and document API log access #253
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/run-job-logs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
fj run logsas the primary command for printing Actions job logs, while keeping singularfj run logas an aliasEndpoint proof
Read-only probe on rasterhub.com with the stored PAT, without printing the token:
Conclusion: the PAT is sufficient for job-log reads on this Forgejo build. A browser session cookie is still needed for cookie-gated web routes such as
run watch,rerun, andcancel.Acceptance output
Command:
Excerpt from the real failing
live-driftjob log:Verification
Full test suite result: 773 passed, 0 failed, 2 ignored, plus the version test passed.
Forseti review
No blocking findings from the lead reviewer.
Findings
docs/compatibility.md:50— This row now listsrun logs/run view --logunderWeb route? yes (read), but the rest of this PR documents that t[unverified: the quoted evidence below does not appear in this diff, so this finding could not be grounded and does not gate. It is kept because a grounding miss must not hide a real defect.]
This row now lists
run logs/run view --logunderWeb route? yes (read), but the rest of this PR documents that these commands read logs through the token-authenticated Actions API when available. Leaving the matrix unchanged makes the compatibility guidance internally contradictory, especially for users deciding whether a Fjord gateway or PAT host is required.rasterstate/fj#2530e59662cadeasha256:b8abd15cc668e7681f7cc1f3a88fc151d6551cff4c1b391afd6986c17b619af5openai:gpt-5.5+anthropic:claude-haiku-4-5-202510010166627 in / 4667 out(32306from cache) ≈$0.2058GITHUB_TOKENdb3cdb390aa7Forseti review
No blocking findings from the lead reviewer.
Findings
docs/compatibility.md:50— This row now listsrun logs/run view --logunderWeb route? yes (read), but the rest of this PR documents that t[unverified: the quoted evidence below does not appear in this diff, so this finding could not be grounded and does not gate. It is kept because a grounding miss must not hide a real defect.]
This row now lists
run logs/run view --logunderWeb route? yes (read), but the rest of this PR documents that these commands read logs through the token-authenticated Actions API when available. Leaving the matrix unchanged makes the compatibility guidance internally contradictory, especially for users deciding whether a Fjord gateway or PAT host is required.rasterstate/fj#2530e59662cadeasha256:b8abd15cc668e7681f7cc1f3a88fc151d6551cff4c1b391afd6986c17b619af5openai:gpt-5.5+anthropic:claude-haiku-4-5-202510010166627 in / 4667 out(32306from cache) ≈$0.2058GITHUB_TOKENdb3cdb390aa7