You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7b856e9
Browse filesBrowse the repository at this point in the historyBrowse files
fix(blocks): keep the blocks record where the org's commit step stages it
An org whose state is still in the layout from before state/ gets its
record at resources/<org>/.vapi-blocks.json. A commit step written for that
layout stages resources/, so the record is committed, and a promotion run
with nothing to promote no longer plans a sync for every resource that uses
a block. An org whose state is in state/<org>/ keeps state/<org>/blocks.json.
npm run migrate moves the record with the state file and the pin.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: state/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,6 @@ Everything under `resources/<org>/`, including `resources/<org>/.vapi-ignore` an
29
29
30
30
The same files used to sit elsewhere: `.vapi-state.<org>.json` and `.vapi-state.<org>.snapshots/` at the repository root, `.vapi-state-hash/<org>/`, and `resources/<org>/.vapi-org.json`. The engine keeps reading and writing them there, on your machine and in CI, for as long as you leave them.
31
31
32
-
While an org's state is there, the engine writes its credential providers record to `resources/<org>/.vapi-credential-providers.json`, where the commit step such a repository already has stages it.
32
+
While an org's state is there, the engine writes its credential providers record to `resources/<org>/.vapi-credential-providers.json` and its blocks record to `resources/<org>/.vapi-blocks.json`, where the commit step such a repository already has stages them.
33
33
34
34
Only `npm run migrate` moves them here. Before it moves anything it says what the step that commits state after a run has to stage, and it moves nothing while it can't see that step stage this folder, unless you tell it yours does. Commit the removal of the old files together with the new folder. See [Upgrading from an older version](../docs/guides/commands.md#upgrading-from-an-older-version).
0 commit comments