Skip to content

feat(state): add --local flag for offline state generation#835

Open
giogam wants to merge 5 commits intomainfrom
CLD-1398/allow-local-state-generation-when-catalog-is-enabled
Open

feat(state): add --local flag for offline state generation#835
giogam wants to merge 5 commits intomainfrom
CLD-1398/allow-local-state-generation-when-catalog-is-enabled

Conversation

@giogam
Copy link
Contributor

@giogam giogam commented Mar 6, 2026

Allow state generate to use local datastore files when the domain is configured for catalog but the catalog service is unreachable.

  • Introduces WithLocalDatastoreFallback environment option and wires it through state generate.
  • Add tests for the option and for Load with fallback when domain has datastore: catalog or all.

Allow state generate to use local datastore files when the domain is configured for catalog but the catalog service is unreachable. Introduces WithLocalDatastoreFallback environment option and wires it through state generate. Add tests for the option and for Load with fallback when domain has datastore: catalog.
@giogam giogam requested a review from a team as a code owner March 6, 2026 12:32
@changeset-bot
Copy link

changeset-bot bot commented Mar 6, 2026

🦋 Changeset detected

Latest commit: b08eae6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
chainlink-deployments-framework Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

👋 giogam, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@giogam giogam changed the title feat(state): add --local-datastore flag for offline state generation feat(state): add --local flag for offline state generation Mar 9, 2026
@giogam giogam force-pushed the CLD-1398/allow-local-state-generation-when-catalog-is-enabled branch from 35f12b2 to bd165e4 Compare March 9, 2026 12:23
@cl-sonarqube-production
Copy link

"chainlink-deployments-framework": minor
---

feat(state): add --local-datastore flag for offline state generation
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
feat(state): add --local-datastore flag for offline state generation
feat(state): add --local flag for offline state generation

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

3 participants