Skip to content

fix(runners): gate one-off shutdown on acknowledged progress upload#3738

Merged
fiftin merged 1 commit intofix/status_updatingfrom
codex/github-mention-fix/status-updating
Mar 31, 2026
Merged

fix(runners): gate one-off shutdown on acknowledged progress upload#3738
fiftin merged 1 commit intofix/status_updatingfrom
codex/github-mention-fix/status-updating

Conversation

@fiftin
Copy link
Copy Markdown
Collaborator

@fiftin fiftin commented Mar 31, 2026

Motivation

  • Prevent the runner from exiting in one-off mode before the latest progress/status upload is acknowledged so completed jobs remain retryable after transient PUT failures.

Description

  • Require sendProgress() to return true (ok == true) before calling os.Exit(0) in the JobPool request timer loop (services/runners/job_pool.go).

Testing

  • Ran go test ./services/runners/..., which succeeded (package has no test files: ? github.com/semaphoreui/semaphore/services/runners [no test files]).

Codex Task

@fiftin fiftin merged commit 291d1e1 into fix/status_updating Mar 31, 2026
2 of 3 checks passed
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant