Skip to content

fix: skip planned scheduler entries until deployment - #19604

Merged
Git-on-my-level merged 1 commit into
mainfrom
lane/scheduler-planned-jobs
Sep 28, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
lane/scheduler-planned-jobs

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Mark the dev and prod frame-retention Scheduler entries as lifecycle: planned while their buckets and Cloud Run jobs await approval and provisioning.
  • In check mode, a missing planned job is reported as PLANNED ...: not deployed without adding a difference.
  • A full apply skips planned jobs. The frame-retention deploy workflow can still create one by selecting it explicitly with --jobs.
  • Existing main runs confirm the regression: memory maintenance, daily memory sweep, and day-3 re-engagement each failed their full scheduler check on the missing dev job.

Verification

  • backend/.venv/bin/pytest -q tests/unit/test_scheduler_reconcile.py — 8 passed.
  • scripts/backend-python-format --check backend/scripts/scheduler_reconcile.py backend/tests/unit/test_scheduler_reconcile.py — passed.
  • git diff --check — passed.
  • No cloud resources were created or changed for this fix.

Product invariants

None affected.

Failure-Class: FC-check-scope-exceeds-remediation-scope

Review in cubic

@Git-on-my-level
Git-on-my-level merged commit 267ec84 into main Sep 28, 2026
65 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/scheduler-planned-jobs branch September 28, 2026 13:39
Git-on-my-level added a commit that referenced this pull request Oct 19, 2026
…ep endpoint is deployed

An unreconciled manifest job fails every deploy's full scheduler --check
(2026-09-28 lesson, #19604). Flip to active and reconcile after the sweep
endpoint is serving.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Git-on-my-level added a commit that referenced this pull request Oct 19, 2026
* fix: durably redrive cap-held audio and persist short live fragments

* fix: preserve cap recovery results and bound durable worker visits

Budget encrypted provider caching against the complete Firestore document and continue oversized usable responses into ordinary ingestion. Drain bounded pages across five concurrent owners with a monotonic next-item and next-piece budget, retaining pre-seal consent.

Bound shutdown coordination and keep scratch creation, encoding, publication and cleanup inside the actual storage executor leaf. Cover crash/restart, aggregate cache capacity, throughput, consent sealing and both waiter and publication cancellation.

* fix: preserve cap result sizing and current recovery contracts

Use the existing SDK encoded-map envelope for conservative aggregate result sizing without expanding import requirements. Align the stack pending-poll assertions and reviewed simulator traces with main bounded recovery dispatch; repair isolated fixtures while preserving no-consent, no-paid-work and shutdown guarantees.

* chore: place cap hold flags beside dispatch enforcement

* chore: clarify cap recovery scheduling and shutdown margins

* chore(scheduler): mark cap-hold-durable-redrive planned until its sweep endpoint is deployed

An unreconciled manifest job fails every deploy's full scheduler --check
(2026-09-28 lesson, #19604). Flip to active and reconcile after the sweep
endpoint is serving.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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