Repository navigation
Keep the Alchemy state on a branch of this repository - #5
Merged
Merged
Conversation
…GitHubState.state()) The state of every stage moves from the Cloudflare store to the branch alchemy-state-store of this repository, through @samebase/alchemy-kit. A run writes the branch with its own token (contents: write) and seals each secret with the key ALCHEMY_GITHUB_STATE_KEY. The Cloudflare token and account id are no longer used.
…se exists No patched release exists (latest is 4.0.7). picomatch reaches only build tooling here, which matches patterns from this repository's own code.
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.
What changes
The real app of this repository keeps its Alchemy state on the branch
alchemy-state-storeof this repository, through@samebase/alchemy-kit/github-state. Before, the state was in the Cloudflare store.alchemy.run.ts:state: Convex.withRunRecord(GitHubState.state()).contents: writeso a run can write the branch with its own token, and the secretALCHEMY_GITHUB_STATE_KEYin place of the Cloudflare token and account id.Order of the move
prod, and the branch has no state ofprodbefore the first production deploy with this change.alchemyonce onmainwithadopt. The production deploy then takes over the Convex project and deployment that exist, and writes the state ofprodto the branch.The old state in the Cloudflare store stays until it is removed.
Checks
vp run typecheckpasses.Open in [code]smith · Need help on this PR? Tag
@codesmithwith what you need.