Skip to content

DAPPS bundle → v0.34.0: manifest fetched from the release, zero-config enable - #382

Merged
M0LTE merged 1 commit into
mainfrom
repin-dapps-v0.34.0
Jun 11, 2026
Merged

DAPPS bundle → v0.34.0: manifest fetched from the release, zero-config enable#382
M0LTE merged 1 commit into
mainfrom
repin-dapps-v0.34.0

Conversation

@M0LTE

@M0LTE M0LTE commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

m0lte/dapps v0.34.0 is the first release to ship pdn-app.yaml as a release asset (packet-net/dapps#149), so this completes the 5b design: the interim manifest copy in packaging/dapps/ is deleted, and build-deb.sh fetches manifest + binary from the same release — four sha256 pins (three RID binaries + the RID-independent manifest), a version-keyed cache, and all-or-nothing staging (never a binary without its manifest). Failure semantics unchanged and re-proven: fresh-download pin mismatch hard-fails; unreachable release with no cache warns and skips the whole package.

ShippedManifestsTests now read the cached release manifest via SkippableFacts whose cache path is derived from the script's own version pin — the tests cannot drift from the script. New assertion: the manifest sets DAPPS_ENV_MANAGED: "true" (the opt-in deployment-managed config mode). The catalog-layout test splits so wall/lobby coverage runs unconditionally in cache-less environments.

What v0.34.0 brings to the bundle: enabling DAPPS on a pdn node is now zero-config — it derives <nodecall>-7 from the supervisor-injected PDN_NODE_CALLSIGN (PR #381), probe-walking to a free SSID via the node's deterministic duplicate-refusal (deviation D5) if 7 is taken.

729/729 Node tests; deb 73.3 MB with /usr/share/packetnet/apps/dapps/{dapps,pdn-app.yaml} verified staged at v0.34.0. plan.md §17 updated.

🤖 Generated with Claude Code

…ease

The interim packaging/dapps/pdn-app.yaml is deleted: v0.34.0 is the first dapps release shipping its own manifest as an asset, so build-deb now fetches manifest + binary from the same release (four sha256 pins, version-keyed cache, all-or-nothing staging, same hard-fail/skip semantics — all four paths proven). ShippedManifestsTests read the cached release manifest via SkippableFacts whose path derives from the script's own pin (no drift possible); the catalog test splits so wall/lobby coverage survives cache-less environments. The release carries DAPPS_ENV_MANAGED + the node-derived callsign with SSID probe-walk — enabling dapps on a pdn node is now zero-config.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@M0LTE
M0LTE merged commit 181c01b into main Jun 11, 2026
16 checks passed
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