Skip to content

chore(licenses): package verified dependency notices - #1

Merged
ahilles107 merged 2 commits into
mainfrom
chore/dependency-notices
Sep 8, 2026
Merged

ahilles107 merged 2 commits into
mainfrom
chore/dependency-notices

Conversation

@ahilles107

@ahilles107 ahilles107 commented Sep 8, 2026

Copy link
Copy Markdown
Owner

What

Package separate third-party notices in the macOS app and daemon archive, expose embedded daemon notices with gravityd --third-party-notices, and serve linked marketing notices. Add a reviewed inventory, generation/check commands, and release artifact checks.

Why

Binary distributions need authentic upstream license, copyright and NOTICE texts, including the Rust standard library and MPL source references. Classify runtime dependencies, build tools and non-shipping platforms against the lockfiles; detect stale dependency or Rust toolchain notices before release.

Primary issue: USE-1588.

Scope is the official macOS ARM64 distribution. Other platforms and patched MPL dependencies require review. The Cloudflare automatic-build follow-up awaits a normal approved merge. No migration or new binary release is required by this PR.

How tested

  • pnpm run verify: Rust formatting, Clippy and tests; desktop typecheck, format, lint, knip, coverage, fallow and build; marketing checks/build; native checks/tests; all 48 Docker visual tests passed.
  • pnpm notices:check --check-toolchain and six notice-gate regression tests passed.
  • Checked 62 upstream notice URLs, five MPL source archive checksums, and the Rust library copyright inventory against the checksum-verified official compiler archive.
  • pnpm --dir apps/marketing exec wrangler deploy --dry-run: Worker bundle inspection passed; no deployment performed.
  • Gitleaks public-patch scan and git diff --check passed.
  • All six required hosted PR checks passed on 42e964d (Rust 1.98.1); full local verification also passed with that toolchain.
  • Telemetry-enabled desktop sourcemap audit found no bundled JavaScript packages missing notices.
  • Signed/notarized manual release dry run 34177627946 passed. Downloaded-artifact checks verified notice contents in the updater app, read-only mounted DMG and daemon archive; both embedded daemon notice outputs; code signing, Gatekeeper, app/DMG notarization; and the updater signature against the official public key. Both publish steps were skipped.

Preserve exact-version upstream notices separately from Gravity licensing, including the statically linked Rust runtime. Gate dependency and toolchain changes on notice review and verify the app and daemon packages before artifact upload.
@ahilles107
ahilles107 merged commit c294ee2 into main Sep 8, 2026
7 checks passed
@linear-code

linear-code Bot commented Sep 8, 2026

Copy link
Copy Markdown

USE-1588

@ahilles107
ahilles107 deleted the chore/dependency-notices branch September 8, 2026 03:04
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