Skip to content

CI: Stop stalled upstream reviews and retain diagnostics - #19

Merged
AntonOresten merged 2 commits into
masterfrom
ci/sync-review-deadline
Sep 19, 2026
Merged

AntonOresten merged 2 commits into
masterfrom
ci/sync-review-deadline

Conversation

@AntonOresten

@AntonOresten AntonOresten commented Sep 19, 2026 •

Copy link
Copy Markdown
Member

Two upstream-review attempts exhausted the 40-minute job limit without producing a review or reaching artifact upload. The queue then remained idle at the unchanged checkpoint.

Add an independent 25-minute watchdog around the marked review action, preserving the GitHub runner so failure diagnostics can upload. The watchdog runs from a root-owned directory before privilege dropping and signals only processes with the exact run/attempt marker and matching process identity. It records process kinds and resource counters, never arguments or environment contents. Retain the reviewer's current commit, completed per-commit records, working patch and action outcome even when the action fails; incomplete results remain ineligible for publication.

Add a manual probe mode that requires Luna to read a random challenge through a sandboxed shell and return it as JSON, with a three-minute deadline and no publishing or checkpoint changes. This separates action/model startup failures from batch-review work. Integration batches retain their existing size limits.

Validation: all 48 automation tests pass, including real-process timeout escalation, isolation from unrelated processes, disarming, and PID-reuse protection. Workflow YAML and embedded shell scripts parse successfully. Both live probes passed: a minimal API/schema response and a sandboxed shell challenge whose returned contents were verified. Diagnostics uploaded successfully, and publishing was skipped as required. The required full build/test CI is still running. These probes do not establish why the previous large reviews timed out; the guarded full review will retain per-commit evidence if it fails again.

Two review attempts exhausted the job deadline without reaching diagnostic upload. Stop only the marked review action before the outer timeout, retain per-commit progress and a non-sensitive process snapshot, and provide a short non-publishing action probe.

Failed run: https://github.com/jool-space/joolia/actions/runs/35449954934/attempts/2

Assisted-by: Codex (GPT-6)
Require the probe to read a random local challenge so a successful API response alone cannot hide a broken tool execution path.

Assisted-by: Codex (GPT-6)
@AntonOresten
AntonOresten merged commit 67bbc06 into master Sep 19, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant