Skip to content

chore: migrate to start-sdk 2.0 and bump Bunker46 to latest upstream (0.1.0:3)#3

Open
helix-nine wants to merge 2 commits into
masterfrom
next
Open

chore: migrate to start-sdk 2.0 and bump Bunker46 to latest upstream (0.1.0:3)#3
helix-nine wants to merge 2 commits into
masterfrom
next

Conversation

@helix-nine

@helix-nine helix-nine commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

start-sdk 2.0 migration

Migrates this package to @start9labs/start-sdk 2.0 (requires StartOS 0.4.0-beta.10).

Changes

  • SDK pin → 2.0.1, TypeScript → ^6, tsconfig.json extends the shipped tsconfig.base.json, Makefile includes the SDK's s9pk.mk (vendored copy removed), reusable CI workflows repointed to Start9Labs/start-technologies.
  • 2.0 API migrations as applicable: sdk.serviceInterface.*sdk.host.* resolved over the LXC bridge, lazy SubContainer, alerts manifest field removed, and other ### Changed / ### Removed items from the SDK 2.0 changelog.

Upstream bump

Bunker46 pins upstream by git commit (BUNKER46_REF in Dockerfile.server / Dockerfile.web) because dsbaars/bunker46 publishes no releases. Advanced the pin from 387d8a6 to 1a9c6c3 (latest main):

The upstream app version is unchanged (0.1.0), so this is a revision bump: StartOS version 0.1.0:20.1.0:3, with release notes updated in all five locales. No state migration is required for existing installs.

Test plan

  • CI build is green (npm citsc → SDK lint → nccs9pk pack).
  • Install the built 0.1.0:3 .s9pk on a StartOS 0.4.0-beta.10 server (fresh install and, separately, an upgrade over an existing 0.1.0:2 install).
  • Start the service; confirm all four daemons come up (bunker46-db, bunker46-valkey, bunker46-server, bunker46-web) and the service reaches its health check and its ui interface loads.
  • Exercise the NIP-46 flow: create/connect a bunker signer through the web UI and confirm the server signs a request.
  • Kill/restart a connected relay (or restart the server subcontainer) and confirm the server recovers rather than staying down — the behavior this upstream bump targets.
  • Run a backup/restore (Postgres withPgDump) and confirm the dump is non-empty and restores cleanly.

🤖 Generated with Claude Code

@helix-nine helix-nine changed the title chore: migrate to start-sdk 2.0 chore: migrate to start-sdk 2.0 and bump Bunker46 to latest upstream (0.1.0:3) Jul 4, 2026
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.

1 participant