Repository navigation
v1.6.0
Added
- Owner-dispatched Publish to Hex workflow, restricted to
mainand the
publishenvironment. An anonymous package lookup refuses first publication
of a missing name and fails closed on lookup errors. - Mutation checks for credential isolation, the standalone archive upload,
forbidden qualification lookups, package-existence refusal, fresh consumer
resolution, runtime pins, action pins, audits, and timeout measurements. - Qualification runs the uploader's registry reads against live Hex without a
key: package existence, release identity, and the served package and docs
bytes of a published version, including the absent-docs response that permits
an upload. The uploader reads served archives from Hex's repository, because
the docs API returns no body for the served docs archive.
Changed
-
Raise the Postgrex requirement to
~> 0.23in the library and reference example,
with both locks at 0.23.0. The new floor clears password and SSL options after
connect and fixes async messages during replication startup. Replicant retains
its halt-at-bound backpressure policy; it does not use the new pause/resume API. -
CI uses the checked BaseLabs PostgreSQL engine for its current-major lane and
reference example, with declared compatibility roles for older servers. One
action owns password-authenticated startup and unconditional cleanup; decoder
images use declared bases and full source pins. No library API changes. -
Docs render once. Under infra's release rule, this path never replaces or
compares served docs: it keeps them and reads them back by presence and
release.jsonprovenance. Hex itself allows docs republishing, but replacing
docs on resume could rebind their provenance away from the commit infra tags.
Comparing a rebuild would refuse a held release whose package bytes match.
Planning uploads only whenhas_docs: falseand the repository returns 404;
has_docs: truewith a 404, other statuses, or malformed bodies refuse. Every built docs archive carries exact
release.jsonpackage/version/CI-commit provenance. Read-back requires it and
index.html, then proves the docs commit equals or precedes the dispatched
commit on fetched default-branch history; missing history or provenance refuses.
A keyless step retains only served archives, computes their checksums, and
exposes and retainspublished_commitfor infra's tag. The producer lock is
not packaged, so package equality alone does not identify the docs commit.
Package byte comparisons, retirement refusals, and all archive inspections stay. -
Every workflow runs its steps in bash with
pipefailby default, so a failure
behind a pipe fails its step. Release scripts assign a listing before checking
it, so a failinggit,findorcommfails the check instead of reading as
"none found". Tests reject|| true, process substitution and
-z/-n "$(...)"checks in workflows and scripts. -
ExDoc moves to 0.40.4 for deterministic highlighting, with its required Earmark
Parser 1.4.46. Docs use HTML and Markdown without EPUB. The Hex archive builder
fixes entry order, ownership, timestamps, and the gzip header. Qualification
and publication inspect every rendered file without comparing docs builds. -
Package and docs archives are built and inspected without the publish key.
Docs build with warnings as errors before anything uploads. One isolated
mix run --no-mix-exsstep uploads those exact file paths through Hex's APIs,
rechecking package existence and release identity immediately before upload.
Untagged held releases resume only with the same package checksum and no
retirement, uploading only missing archives. Tags and GitHub releases refuse
publication. Package checksums must match the inspected bytes before upload and
on read-back. Served docs are kept by presence and never compared with a rebuild.
Temporary archives are always removed. -
Successful read-back retains versioned served package and docs archives plus
SHA256SUMSin onerelease-assetsartifact. Infra tags, compares the package
with Hex's bytes, and creates the GitHub release from it. Consumer verification
downloads the GitHub release assets. -
Publication relies on the default-branch ruleset for qualification, with only
contents: readpermission. It performs no qualification lookup or download. -
Job timeouts follow infra's CI rule using the slowest durations across green
runs 44200086214, 44220063612, 44222373059, and 44265557928. Publish uses
the unmeasured limit until it has its own green run. -
Projects with committed locks fetch with
--check-locked. The generated
external consumer has no borrowed lock, resolves fresh, and runs both audits.
The reference example's committed lock receives both audits as well. -
Every workflow uses GitHub-hosted Ubuntu 24.04 and the exact
.tool-versions
runtime, refusing Elixir, full OTP patch, and Elixir OTP build-suffix drift.
Erlang/OTP moves to 29.0.5 to match the reference example's immutable image.
Package builds pin Hex 2.7.0 and compare two isolated builds byte for byte. -
Checkout actions pin v7.0.1 and setup-beam pins v1.24.1 by full commit SHA.
Fixed
- In-flight-lag integration tests assert halts from telemetry and size their
shared bound from the measured WAL span. - Incremental snapshot contention tests synchronize a delivered write inside every
keyed and keyless attempt and assert exactly two retries before the bounded halt.
A continuously running writer can leave a quiescent read window; waiting longer
for a halt after successful completion did not establish contention. - Integration test pipelines explicitly select Bash with
pipefail, so a
failing test run cannot be hidden by a successful output capture or receipt grep. - Plugin snapshot tests bind table names as text before PostgreSQL resolves their
relation OIDs. Idle snapshot assertions allow the documented first keepalive;
skipped targets and the standalone Hex script compile without test warnings. - The mixed-INSERT pglogical snapshot test matches the plugin's all-set predicates,
and resume fault injection runs synchronously after ten chunks so a fast backfill
cannot finish before the test arms its fault. - GitHub release identity reads use
gh apiwith the keyless calling step's
read-only job token. Only a definitive HTTP 404 proves absence; other errors
fail closed without printing response values.
Removed
- Qualification authorization artifacts, candidate receipts and Git witnesses,
and the former package and docs upload scripts. - Workstation publishing and credential-file loading. Publication belongs to
infra through the owner-dispatched workflow. - Pull request CI and Actions caches. Fork changes qualify through a maintainer's
kci/landing candidate; no repository code runs on a pull request trigger.