fix(bayn): bind research continuation to current build - #13869
Closed
gregkonush wants to merge 1 commit into
Closed
Conversation
Member
Author
|
Superseded by #13870, which landed the build continuation for the active research generation; subsequent #13871/#13874/#13877/#13882/#13884 hardened atomic activation, deployment binding, lazy writer fencing, durable successor proof, and immutable image rotation. Current production is Synced/Healthy on current main with advancing native Restate ticks and repeated EXACT reconciliation, so rebasing this stale conflicting PR would reintroduce obsolete bindings. |
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.
Summary
capital-activation-requestpayload with Bayn's canonicalbayn.paper-research-build-continuation.v1envelope.c6dab85a27f4d5430e89aa460c385f054403dfe169c0d6ccc67950797c3a2240and the reviewed b23c build/image, without rearming or creating capital authority.d6342128.../b23c...-> continuation plan2f3e78f5.../b23c..., activation generationcd73547c....Related Issues
N/A
Incident evidence
989a0fd2.../954ee...was deactivated andd6342128.../b23c...was activated.7666, then failed native runtime initialization and exhausted its bounded retry budget.954ee...build.capitalActivationRequestIsCurrenttherefore correctly rejected it on b23c.c6dab85a..., effective/maximum research execution authority with kill clear; the failed initialization performed no broker mutation.Immutable continuation evidence
makeResearchCapitalBuildContinuationand round-tripped throughdecodeCapitalActivationConfigurationResult.c2b802859f4d061c2659ef8f1e8e0e14f561541eda357f5bb42ba0597b32b16a.3a6a2aa0f1f435971121e5a483bb5fa552eca16ec9abba68ee595a75a3b3d075.2f3e78f5cb4cfc51c2853de158b22d67cff65dfb16a94defe178583805ebf347.cd73547c3864c37dce050d01f55a30fb07985888b1964ddc8412cc36d8c0df20.kubeseal0.38.4, matching the live Sealed Secrets controller;kubeseal --validatesucceeds.Testing
bun test services/bayn/src/composition.test.ts -t 'resumes'— 2 passed, 0 failed.bun test packages/scripts/src/bayn packages/scripts/src/shared/__tests__/bayn-cnpg-contract.test.ts— 141 passed, 0 failed.bun run --cwd packages/scripts lint:oxlint:type— 0 errors; existing unrelated warnings only.kubectl kustomize argocd/applications/bayn— renders the continuation plan, exact previous binding, new activation generation, and unique Sync hook.kubeseal --validate --controller-name sealed-secrets --controller-namespace sealed-secrets— success.git diff --check.Breaking Changes
None. This is a serialized recovery of the existing bounded research execution generation onto the already-reviewed current build. No broker credentials, trading logic, account identity, risk policy, persistence schema, or capital grant are changed.
Checklist