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
Remove the connect feature and the private nanostore dependency
What changed:
- Drops the nanostore path dependency from build.zig.zon and build.zig,
along with the kuri-connect-broker target.
- Deletes src/connect_broker.zig, src/connect_cdp.zig, and
src/storage/connect_store.zig; removes the /connect/save|load|list|delete
routes (enum, table, switch, handlers), kuri-agent connect, relay-fetch
mode (KURI_RELAY), and the vault_passphrase config (KURI_VAULT_PASSPHRASE).
- Removes the NANOSTORE_PAT checkout/verify/symlink steps from ci.yml and
release.yml.
Why:
- nanostore is a private sibling repo, so every kuri build, local and CI,
needed a second checkout plus a PAT secret. That is what made main
unbuildable for anyone without access, and it forced the 0.5.1 release
branch to diverge in the first place.
- The pinned nanostore commit does not compile on the Zig 0.17.0-dev
toolchain (the ** repeat operator no longer lexes), so keeping the pin
meant carrying local patches on a repo we no longer want as a dependency.
- Trade-off: v0.5.1 shipped these routes, so this is a feature removal
after release; noted in the changelog under Unreleased.
Verified: zig build and zig build test pass with no ../nanostore present.
Co-Authored-By: Codegraff <blackfloofie@codegraff.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,9 @@ All notable changes to kuri are documented here.
4
4
5
5
## [Unreleased]
6
6
7
+
### Removed
8
+
-**`connect` feature and nanostore dependency** — the `/connect/*` routes, `kuri-agent connect`, `kuri-connect-broker`, and relay-fetch mode shipped in v0.5.1 are removed from main. They depended on the private `justrach/nanostore` sibling library, which made every build of kuri require a private checkout plus a `NANOSTORE_PAT` secret in CI, and its pinned commit did not compile on the project's Zig 0.17.0-dev toolchain. Building kuri now needs only this repo. `KURI_VAULT_PASSPHRASE`, `KURI_RELAY`, and `KURI_BROKER*` no longer have any effect.
0 commit comments