Repository navigation
chore: drop the unused wit-component pin from the example crates - #273
Conversation
Every example crate pinned wit-component beside wit-bindgen, but none of them uses wit_component; each gets the wit-component its wit-bindgen requires through wit-bindgen-rust regardless. Only cmd/gravity calls it (wit_component::metadata::decode), so its pin stays. Dependabot's wit group picks each crate's latest version independently, so a wit-component release ahead of wit-bindgen's requirement produces a lone bump that `just check-wit` refuses, and both that PR and the hand fix touched 23 manifests. They now touch one. check-wit's message names cmd/gravity/Cargo.toml as the file to pin, and AGENTS.md says the examples depend on wit-bindgen alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Arcjet Review — 🟢 Normal Risk
Decision: Approved
Rationale: The 22 manifest removals match the 22 dependency entries removed from Cargo.lock. No locked package version changes, and cmd/gravity retains its direct wit-component pin. The checker still rejects split versions; only its guidance changes, and the updated fixture checks that it names the correct manifest.
Summary of Changes
Removes the redundant wit-component pin from all 22 example crates. AGENTS.md explains which pins to maintain, and the check-wit diagnostic points maintainers to cmd/gravity/Cargo.toml.
Escalation Triggers
- Dependency Changes: The PR removes a direct dependency from 22 Cargo.toml files without adding or upgrading a package.
Review Steps
API Review
| Relevancy | Outcome |
|---|---|
| none | ⏭️ Skipped |
Data Flow Map
| Relevancy | Outcome |
|---|---|
| none | ⏭️ Skipped |
Dependency Audit
| Relevancy | Outcome |
|---|---|
| high | ✅ Pass |
The examples retain wit-bindgen, and the CLI retains wit-component. The lockfile changes only the examples’ direct dependency lists.
Docs Review
| Relevancy | Outcome |
|---|---|
| medium | ✅ Pass |
AGENTS.md reflects the new pinning arrangement. The build and usage instructions in examples/README.md remain applicable.
Historical ADR Review
| Relevancy | Outcome |
|---|---|
| none | ⏭️ Skipped |
Insider Threat
| Relevancy | Outcome |
|---|---|
| none | ⏭️ Skipped |
Migration Safety
| Relevancy | Outcome |
|---|---|
| none | ⏭️ Skipped |
Security Review
| Relevancy | Outcome |
|---|---|
| low | ✅ Pass |
The shell change adds a literal path to a diagnostic. It does not change command execution or weaken the version check.
Test Coverage
| Relevancy | Outcome |
|---|---|
| medium | ✅ Pass |
The split-wit-component fixture checks both failure status and the new manifest path. CI is configured to run the fixture suite and check the workspace lockfile.
Zero Data Retention
| Relevancy | Outcome |
|---|---|
| none | ⏭️ Skipped |
WorkOS Audit Logging
| Relevancy | Outcome |
|---|---|
| none | ⏭️ Skipped |
Review: 03b91210 | Model: openai/gpt-6.2-astra | Powered by Arcjet Review
Every example crate pinned
wit-componentbesidewit-bindgen, but none of them useswit_component. Each gets thewit-componentitswit-bindgenrequires throughwit-bindgen-rustanyway. Onlycmd/gravitycalls it (wit_component::metadata::decode), and no wit-bindgen crate re-exports it, so that pin stays.Dependabot's
witgroup picks each crate's latest version independently. So awit-componentrelease ahead of whatwit-bindgenrequires produces a lone bump thatjust check-witrefuses, as with #251 and #262, and both such a PR and its hand fix touched 23 manifests. They now touch one.Cargo.tomlfiles dropwit-component;Cargo.lockloses only those 22 dependency lines.check-wit's message namescmd/gravity/Cargo.tomlas the file to pin.wit-bindgenalone.🤖 Generated with Claude Code