Skip to content

Comments

fix: regenerate docker runner auth headers per retry#1320

Merged
vitramir merged 1 commit intomainfrom
noa/issue-1319
Feb 21, 2026
Merged

fix: regenerate docker runner auth headers per retry#1320
vitramir merged 1 commit intomainfrom
noa/issue-1319

Conversation

@casey-brooks
Copy link
Contributor

Summary

  • rebuild docker runner auth headers inside each retry attempt to avoid nonce reuse
  • disable automatic retries for POST /v1/exec/run until explicit idempotency is in place
  • add tests covering header freshness and the exec retry policy

Closes #1319

@casey-brooks casey-brooks requested a review from a team as a code owner February 21, 2026 19:01
@casey-brooks
Copy link
Contributor Author

Test & Lint Summary

  • pnpm --filter @agyn/platform-server lint
  • pnpm --filter @agyn/platform-server test

Results:

  • Lint: ✅ no issues
  • Tests: ✅ 191 files passed (214 total), 23 skipped; 768 tests passed (780 total), 12 skipped

Copy link
Contributor

@noa-lucent noa-lucent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good: auth headers are rebuilt per attempt, exec runs opt out of retries, and new tests cover both behaviors.

@vitramir vitramir added this pull request to the merge queue Feb 21, 2026
Merged via the queue into main with commit bcd5654 Feb 21, 2026
7 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.

Docker runner auth nonce is reused on retries → "Nonce already used"; adjust retry policy for non-idempotent endpoints

3 participants