Show errors from runner registration #2

Merged
matchu merged 1 commit from armin-bot/openneo-code:claude/runner-register-errors into main 2026-11-08 19:56:18 -08:00
Contributor

The register task in setup-actions.yml failed on its first real run, but no_log: true (there to keep the runner secret out of Ansible's output) hid the error message too.

Now the register task doesn't fail on its own. A follow-up task reports the exit code and the CLI's output, which never includes the secret: the secret only goes in on stdin, and Forgejo's error messages for it give only its length.

ansible-playbook --syntax-check passes.

🤖 Generated with Claude Code

https://claude.ai/code/session_014PWWczf6WkuBDdUASWtRcZ

The register task in `setup-actions.yml` failed on its first real run, but `no_log: true` (there to keep the runner secret out of Ansible's output) hid the error message too. Now the register task doesn't fail on its own. A follow-up task reports the exit code and the CLI's output, which never includes the secret: the secret only goes in on stdin, and Forgejo's error messages for it give only its length. `ansible-playbook --syntax-check` passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014PWWczf6WkuBDdUASWtRcZ
`no_log` on the register task keeps the runner secret (passed on stdin)
out of Ansible's output, but it also hid the error when registration
failed. Now the task doesn't fail on its own; a follow-up task reports
the exit code and the CLI's output, which never includes the secret.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014PWWczf6WkuBDdUASWtRcZ
matchu merged commit 2a9220b583 into main 2026-11-08 19:56:18 -08:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
OpenNeo/openneo-code!2
No description provided.