Skip to content

🐛 fix(config): fail startup on repository errors - #1861

Merged
gaborbernat merged 2 commits into
mainfrom
fix/1396-startup-reconcile
Aug 30, 2026
Merged

gaborbernat merged 2 commits into
mainfrom
fix/1396-startup-reconcile

Conversation

@gaborbernat

Copy link
Copy Markdown
Member

Writable startup could serve a configured route after repository reconciliation failed, leaving that route without the stable identity used by the management API.

Startup now propagates repository validation and storage errors before publishing application state and reports the affected routes. Nodes without write access continue to skip reconciliation, while successful restarts retain repository IDs and versions.

Closes #1396

`build_state` discarded repository reconciliation errors, so the server could
expose a configured route without its persisted identity.

Propagate the storage error before `build_state` publishes application state.
Nodes without write access keep skipping repository reconciliation.
@gaborbernat gaborbernat added the bug Something isn't working label Aug 30, 2026
@gaborbernat gaborbernat self-assigned this Aug 30, 2026
@codspeed

codspeed Bot commented Aug 30, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 23 untouched benchmarks
⏩ 139 skipped benchmarks1


Comparing fix/1396-startup-reconcile (f7912c6) with main (60698d6)

Open in CodSpeed

Footnotes

  1. 139 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

An oversized repository route stopped reaching the shadow query after startup
began enforcing repository persistence errors.

Corrupt a valid stored decision through the metadata migration boundary so both
fixtures exercise the intended decode failure through the public HTTP route.
@gaborbernat
gaborbernat merged commit 6c89dde into main Aug 30, 2026
32 checks passed
@gaborbernat
gaborbernat deleted the fix/1396-startup-reconcile branch August 30, 2026 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fail startup when configured repositories cannot be persisted

1 participant