protocol, tests: check the minor ledger from the workspace tests member #199
No reviewers
Labels
No labels
Area/ci
Area/cli
Area/client
Area/client-core
Area/daemon
Area/deps
Area/docs
Area/grid
Area/manual
Area/nix
Area/protocol
Area/pty
Area/render
Area/shaping
Area/skills
Area/transport
Area/vt
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Performance
Kind/Security
Kind/Testing
perf-regression-accepted
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Blocked
Status
Need More Info
Status
Upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
felis-terminal/felis!199
Loading…
Reference in a new issue
No description provided.
Delete branch "workspace/out-of-crate-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #160 (policy amendment: a test that reads a file outside its own crate moves to the
tests/member).crates/finds only two such tests, both in felis-protocol, and both readdocs/reference/ipc.mdthroughCARGO_MANIFEST_DIR/../..:the_minor_ledger_has_a_row_per_minorandthe_ledger_covers_every_executable_addition. They move unchanged totests/protocol_ledger.rs.ADDITIONStable.tools/proto/schema_meta.pynow emits it as#[doc(hidden)] pubinstead of#[cfg(test)] pub(crate), andfelis_protocol::minorre-exports it.tests/README.mdandtests/Cargo.tomllist the new test.Verified:
just lint,just publish-dry-runandfmt-checkpass.Not addressed here (accepted by the amendment): six crates (felis-pty, felis-client-core, felis-render-core, felis-render-wgpu, felis-daemon, felis-cli) do not compile their tests from the extracted package, because
cargo packagedrops the path-only felis dev-dependencies and the test features on them (test-util,testing).f1206c9a3ac2b7cfeb4d