Skip to content

release(v0.34.7): bump 4 manifests + ratchet floors + enable devtools#90

Merged
priceflex merged 1 commit into
mainfrom
release/v0.34.7
Jun 1, 2026
Merged

release(v0.34.7): bump 4 manifests + ratchet floors + enable devtools#90
priceflex merged 1 commit into
mainfrom
release/v0.34.7

Conversation

@priceflex
Copy link
Copy Markdown
Owner

What

Cut release v0.34.7 to ship PR #89 (desktop enrollment-paste handler fix).

  • 4 protocol manifests bumped 0.34.6 → 0.34.7
  • 4 desktop version files bumped 1.0.2 → 1.0.3
  • 4 floor-guard tests ratcheted 0.34.6 → 0.34.7
  • devtools Tauri feature re-enabled for release per ztlp-desktop-release skill §3 invariant

Why

PR #89 is desktop-only JS but ships as a desktop installer, so the protocol patch version moves monotonically per the same convention v0.34.5 followed for the previous desktop hotfix. Floors track new release per release-version-pinning Pitfall 13.

Tests (RED → GREEN)

RED (before bump):
```
proto/Cargo.toml version 0.34.6 is older than the v0.34.7
strict-routing tag. Bump `version = "..."` in proto/Cargo.toml.
```

GREEN (after bump):

Component Result
proto/tests/version_pin_test.rs 2 passed, 0 failed
relay release_test.exs 15 passed, 0 failed
ns release_test.exs 15 passed, 0 failed
gateway release_test.exs 15 passed, 0 failed

Pre-tag checklist (per ztlp-desktop-release skill)

  • All 4 desktop version files in sync
  • tauri.conf.json app.withGlobalTauri: true (unchanged)
  • Cargo.toml tauri features include "devtools" (restored)
  • 4 protocol manifests match tag version
  • 4 floor tests ratcheted
  • cargo check clean
  • PR fix(desktop): re-evaluate Enroll button after Paste click #89 already merged to main

Validation

  • No stale "1.0.2" or "0.34.6" in repo source (Cargo.lock dependency entries from upstream crates excluded).
  • Floor guards proven RED-then-GREEN on local machine.

Follow-up

  • Tag v0.34.7 from this PR's merge commit.
  • release.yml will build all 15 artifacts (5 Rust archives + 3 OTP releases + 4 desktop installers + eBPF tarball + 2 metadata).
  • Deploy installer to bench 10.170.3.111 per ztlp-desktop-release §8 and have Steve verify enrollment end-to-end.
  • 5 other desktop components still have the broken inline-handler pattern; fix template = PR fix(desktop): re-evaluate Enroll button after Paste click #89. Not blocking.

What
----
Cut release v0.34.7 to ship PR #89 (desktop enrollment-paste handler
fix). Bump 4 protocol manifests 0.34.6 → 0.34.7 and 4 desktop version
files 1.0.2 → 1.0.3. Ratchet 4 floor tests 0.34.6 → 0.34.7. Re-enable
the `devtools` Tauri feature in release builds (mandatory per the
ztlp-desktop-release skill so operators can right-click → Inspect on
shipped installers to triage UI bugs).

Why
---
PR #89 is a pure desktop JS fix but ships as a desktop installer, so
the release tag is monotonic with the protocol patch version per the
ztlp-desktop-release skill convention (same convention v0.34.5
followed for the previous desktop hotfix). Floors track the new
release per release-version-pinning Pitfall 13 — without ratcheting
the floor at 0.34.6 stays viable as a tripwire only for pre-0.34.6
down-bumps, which is dead surface against v0.34.7+.

devtools-in-release was inadvertently dropped at some point on this
branch — the release-skill checklist confirms it's a release invariant
and v0.34.5 had it on. Restoring matches established norms.

Details
-------
Protocol manifests (4 files, 0.34.6 → 0.34.7):
  - proto/Cargo.toml
  - relay/mix.exs
  - ns/mix.exs
  - gateway/mix.exs

Floor tests (4 files, 0.34.6 → 0.34.7):
  - proto/tests/version_pin_test.rs (MINIMUM_VERSION const)
  - relay/test/ztlp_relay/release_test.exs (Version.compare floor)
  - ns/test/ztlp_ns/release_test.exs (Version.compare floor)
  - gateway/test/ztlp_gateway/release_test.exs (Version.compare floor)

Desktop manifests (4 files, 1.0.2 → 1.0.3):
  - desktop/src-tauri/Cargo.toml
  - desktop/src-tauri/tauri.conf.json
  - desktop/package.json
  - desktop/src/index.html (sidebar footer label)

Desktop Cargo.lock auto-regenerated by cargo check.

Tauri feature change (desktop/src-tauri/Cargo.toml):
  features = ["tray-icon"]  →  features = ["tray-icon", "devtools"]
Per ztlp-desktop-release skill §3 invariant. Comment block above the
line documents why (PR #89's WebView2 inline-handler bug took ~2 hours
to repro entirely because the previous release shipped without
devtools).

Each manifest also gets an inline comment block per
release-version-pinning naming this PR and the regression-test floor
that pins it.

Tests
-----
RED step (recorded before bump):

  proto/Cargo.toml version 0.34.6 is older than the v0.34.7
  strict-routing tag. Bump `version = "..."` in proto/Cargo.toml.

GREEN step (all four after bump):

  proto: cargo test --test version_pin_test
    test cargo_pkg_version_is_at_least_minimum_floor ... ok
    test cargo_pkg_version_is_parseable_semver ... ok
    test result: ok. 2 passed; 0 failed

  relay: mix test test/ztlp_relay/release_test.exs
    15 tests, 0 failures

  ns: mix test test/ztlp_ns/release_test.exs
    15 tests, 0 failures

  gateway: mix test test/ztlp_gateway/release_test.exs
    15 tests, 0 failures

Validation
----------
- All four floors RED before bump (proves the tripwires work),
  GREEN after.
- `cargo check` clean for proto (bin ztlp) and desktop (ztlp-desktop).
- No stale "1.0.2" or "0.34.6" references in repo source (grep
  excluding Cargo.lock dependency entries).
- Tauri config invariants per ztlp-desktop-release pre-tag checklist:
    * app.withGlobalTauri: true ✓ (unchanged from PR #86)
    * Cargo.toml tauri features include "devtools" ✓ (restored here)

Follow-up
---------
- Tag v0.34.7 from this PR's merge commit. release.yml will build all
  15 artifacts (5 Rust archives + 3 OTP releases + 4 desktop
  installers + eBPF + 2 metadata).
- Deploy desktop installer to bench 10.170.3.111 per
  ztlp-desktop-release §8. AHK-verifiable: PR #89's enroll-paste
  end-to-end already confirmed on a hand-swapped build of fd0e30d;
  v0.34.7 = fd0e30d + manifest bumps, so functional behavior is
  unchanged from that verification.
- 5 other desktop components (home, identity, services, setup,
  settings) still use the broken inline-handler pattern (20+
  attributes). Fix template is identical to PR #89; not blocking
  this release.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 1, 2026

Warning

Review limit reached

@priceflex, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 27 minutes and 42 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b9e17014-4478-410b-8e72-a17960272ca3

📥 Commits

Reviewing files that changed from the base of the PR and between fd43ab3 and 420195c.

⛔ Files ignored due to path filters (1)
  • desktop/src-tauri/Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (12)
  • desktop/package.json
  • desktop/src-tauri/Cargo.toml
  • desktop/src-tauri/tauri.conf.json
  • desktop/src/index.html
  • gateway/mix.exs
  • gateway/test/ztlp_gateway/release_test.exs
  • ns/mix.exs
  • ns/test/ztlp_ns/release_test.exs
  • proto/Cargo.toml
  • proto/tests/version_pin_test.rs
  • relay/mix.exs
  • relay/test/ztlp_relay/release_test.exs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/v0.34.7

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@priceflex priceflex merged commit 3fd0706 into main Jun 1, 2026
10 checks passed
@priceflex priceflex deleted the release/v0.34.7 branch June 1, 2026 06:59
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