Skip to content

chore: prepare immutable v0.0.1 release - #99

Merged
LukasNiessen merged 3 commits into
mainfrom
chore/49-v0.0.1-release
Aug 24, 2026
Merged

LukasNiessen merged 3 commits into
mainfrom
chore/49-v0.0.1-release

Conversation

@LukasNiessen

@LukasNiessen LukasNiessen commented Aug 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • version the package as the first v0.0.1 Zig 0.16.0 preview and add changelog/release records
  • record the immutable tag archive, canonical Zig package content hash, license, limitations, and rollback policy
  • add a tag-driven, least-privilege release workflow that repeats the complete cross-platform/ReleaseSafe suite before publication
  • generate a fresh external consumer that fetches the public archive, verifies the exact hash, wires b.dependency, and runs a real architecture test
  • validate release metadata, immutable action pins, workflow gates, and fail-closed behavior in CI

Validation

  • python -B -m unittest scripts.test_install_zig scripts.test_release
  • python -B scripts/check_ci.py
  • python -B scripts/release.py validate
  • zig fmt --check build.zig build.zig.zon src
  • zig build test
  • zig build docs -Doptimize=ReleaseSafe (11 guide pages + compiler API docs)
  • canonical Zig package hash completed from a clean archive: archunit-0.0.1-7Czg3Iqh4CfVzitc17jyrtIGkzPRqZ9Zrk_aWEoj7mkI
  • hosted zig build benchmark-check: 1.184s total, 5,966,099-byte peak, zero final live bytes, stable digest, budgets enforced
  • local Windows benchmark retained stable correctness/allocation/memory evidence but exceeded wall-clock budgets; no budgets were loosened

After this PR merges, the sequential release step is: verify workflow registration, enable GitHub immutable releases, create/push annotated v0.0.1, and wait for the tag workflow to verify the real public archive before publishing.

Closes #49

@LukasNiessen

Copy link
Copy Markdown
Collaborator Author

Self-review complete: no findings. Verified package/hash boundaries, metadata consistency, annotated-tag enforcement, full pre-publication matrix, fresh network consumer without path dependencies, least-privilege token scope, draft asset ordering, immutable attestation verification, and rollback semantics.

@LukasNiessen
LukasNiessen merged commit 96fc1bb into main Aug 24, 2026
5 checks passed
@LukasNiessen
LukasNiessen deleted the chore/49-v0.0.1-release branch August 24, 2026 15:29
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.

Release: tag v0.0.1 and verify Zig package-manager consumption

1 participant