Skip to content
This repository was archived by the owner on Oct 5, 2026. It is now read-only.

chore: depend on the published harness crates, not a git revision (#25) - #45

Merged
ParallelEntrepreneur merged 1 commit into
mainfrom
chore/crates-io-pins
Sep 7, 2026
Merged

ParallelEntrepreneur merged 1 commit into
mainfrom
chore/crates-io-pins

Conversation

@ParallelEntrepreneur

Copy link
Copy Markdown
Contributor

Closes #25. The harness published to crates.io yesterday, so the three git revision pins become ordinary version requirements and this repository stops depending on a commit that could be rewritten.

cratefield-core = "0.3"
cratefield-testing = "0.1"
cratefield-adapter-sqlite = "0.1"

Ranges follow the harness's own policy in its docs/COMPATIBILITY.md: a caret on the current minor while pre-1.0, so "0.3" accepts 0.3.x and a core minor bump can never be picked up silently.

What that upgrade actually was

The pinned revision was from before the rename. This resolves to core 0.3.1, which is a long way ahead of it — the Blob, Push, Payments, Realtime, Outbox and Inbox ports all landed in between. Nothing here needed changing for any of them, which is the ports-and-adapters design doing its job: this service asks for ports by name and never sees the ones it did not ask for.

The rename

The crates went factory0-* → cratefield-* before that first release (harness ADR 0011), so this renames every reference — 237 across manifests, sources and tests.

Our own factory0-auth-* package names are unchanged. This is an unpublished Factory Zero service, not a Cratefield crate, which is exactly what ADR 0011 says. The only churn in the diff beyond the rename is import ordering: cratefield_ sorts before factory0_.

The reusable workflow

CI called Cratefield/harness/.github/workflows/conformance.yml@main. At @main, an unrelated push to the harness silently changes what this repository's CI runs, with no diff here to review. Now pinned to a commit SHA — the harness has no release tags (release-plz has never produced one), and a SHA cannot be moved where a tag can. Bump deliberately.

Gates

396 tests, clippy --all-targets --all-features -D warnings, fmt, the wasm32 workspace build, and the wasm dependency boundary (no openssl/reqwest/mio in the tree). cargo tree shows zero git dependencies remaining.

🤖 Generated with Claude Code

https://claude.ai/code/session_01V8K9TBtmnf29dV6uEP5oM3

The harness published to crates.io yesterday, so the three git pins
become ordinary version requirements and this repository stops
depending on a commit that could be rewritten.

    cratefield-core = "0.3"
    cratefield-testing = "0.1"
    cratefield-adapter-sqlite = "0.1"

Ranges follow the harness's own policy in its docs/COMPATIBILITY.md: a
caret on the current minor while pre-1.0, so a core minor bump can never
be picked up silently. Resolves to core 0.3.1 — five minor versions of
new ports (Blob, Push, Payments, Realtime, Outbox, Inbox) ahead of the
pinned revision, and nothing here needed changing for them.

The crates were renamed `factory0-*` -> `cratefield-*` before that first
release (harness ADR 0011), so this also renames every reference: 237 of
them across manifests, sources and tests. **Our own `factory0-auth-*`
package names are unchanged** — this is an unpublished Factory Zero
service, not a Cratefield crate, which is what ADR 0011 says.

CI's reusable conformance workflow moves from `@main` to a commit SHA.
At `@main` an unrelated push to the harness silently changes what this
repository's CI runs, with no diff here. The harness has no release tags
(release-plz has never produced one) and a SHA cannot be moved where a
tag can.

Gates: 396 tests, clippy -D warnings, fmt, the wasm32 workspace build,
and the wasm dependency boundary (no openssl/reqwest/mio).

Closes #25.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V8K9TBtmnf29dV6uEP5oM3
@ParallelEntrepreneur
ParallelEntrepreneur merged commit 9e391e2 into main Sep 7, 2026
7 checks passed
@ParallelEntrepreneur
ParallelEntrepreneur deleted the chore/crates-io-pins branch September 7, 2026 18:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace the harness git pins with crates.io version pins

1 participant