Repository navigation
Fail closed on startup and preserve scheduled job state - #19
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Apollo could accept traffic after secret or schedule-storage initialization failed. Startup now rejects incomplete Infisical settings, verifies metadata connectivity, opens durable schedule storage, and restores schedules before starting jobs and the listener. Shutdown has a bounded drain.
Storage startup preserves execution history, limits connection use, and migrates legacy SQLite rows. Schedule replacement validates and persists before replacing the old entry. Runs of the same scheduled job cannot overlap, including across replacements, and restored schedules receive distinct execution IDs.
Validation: Azure Linux, Go 1.26.8, 1 CPU / 1 GiB test container. Configuration, secret-bootstrap, SQLite, scheduler, server, and command packages pass. Disposable PostgreSQL 17.6 also passes migration, duplicate-history preservation, and authenticated gRPC tenant checks. No live secret provider or worker deployment qualification is claimed. Native Hakopod invocation support follows separately.