Skip to content

fix: unblock schedules using worker or native Harness authentication - #179696

Merged
stevenlee-oai merged 1 commit into
mainfrom
dev/stevenlee/scheduled-harness-auth
Oct 21, 2026
Merged

stevenlee-oai merged 1 commit into
mainfrom
dev/stevenlee/scheduled-harness-auth

Conversation

@stevenlee-oai

@stevenlee-oai stevenlee-oai commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Schedules using worker-owned credentials or native Harness authentication can fail creation or capture an unrelated Gateway inference account.

User Impact

Required-worker inference stays unbound when no account is selected. Native Codex schedules use the selected Harness’s authentication plan. Explicit model, creator and matching-default account selections retain validation; optional workers and Gateway inference keep their existing checks.

Why This Change Was Made

Cron now checks required-worker placement after resolving selected accounts and supplies Harness selection to the existing authentication planner. This keeps admission aligned with the execution route without introducing another authentication policy.

Separated from #174580. Neither PR depends on the other; they can be reviewed and merged independently.

Evidence

Current-head CI remains pending for ef3eb3fef96.

  • All 29 Gateway-handler tests pass (280.60 seconds including preparation), covering worker/Harness authentication, selected model/creator/default accounts, unsupported routes and SQLite persistence.
  • Targeted type-aware lint, source formatting and whitespace checks pass. The frozen workspace install passes after the package exceptions propagated; no lockfile changes were needed.
  • Independent Codex correctness and maintainability reviews found no issue. Native CLI autoreview remains blocked by read-only startup. ClawSweeper’s latest attempt returned provider_throttle without a review verdict.
  • The fixtures disable scheduling and never start a Harness. They do not prove provider I/O, active-run credential revocation or a real Codex login. End-to-end worker execution qualification remains open.

@clawsweeper

clawsweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review ended

ClawSweeper stopped reviewing this revision because the pull request closed.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 21, 2026
@stevenlee-oai
stevenlee-oai merged commit a5956b0 into main Oct 21, 2026
213 checks passed
@stevenlee-oai
stevenlee-oai deleted the dev/stevenlee/scheduled-harness-auth branch October 21, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. gateway Gateway runtime size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant