Repository navigation
test(durable-kernel): CLI integration test for storage inspect/upgrade (EG-DURABLE-KERNEL-R007) - #105
Closed
Knucklessg1 wants to merge 1 commit into
Closed
Knucklessg1 wants to merge 1 commit into
Knucklessg1 wants to merge 1 commit into
Conversation
…e (EG-DURABLE-KERNEL-R007) Spawns the real epistemic-graph-server binary and exercises the store-upgrade inspect/apply subcommands against a disposable empty data directory, proving the CLI wiring (clap subcommand parsing, exit status propagation) end to end. Prior coverage was library-level only (store_upgrade::inspect/apply unit tests), leaving the actual command-line surface named by EG-DURABLE-KERNEL-R007 untested. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Knucklessg1
added a commit
that referenced
this pull request
Oct 9, 2026
…gration branch - orphan-modules: wire crates/eg-capabilities/tests/consistency/row_count.rs (added by #123) into tests/consistency.rs's mod tree. - registry-test-ownership: add tests/operator_command_store_upgrade_cli.rs (added by #105) to eg.binary-composition's test_roots. - contract-method-reachability: add the missing QueryForeignColumns contract/methods.json entry (#123 added the wire Method variant and the schemas but never the catalog row); bump method_count 462 -> 463 in both contract/methods.json and its epistemic_graph/ mirror, and in receipt.json. - security/check_secret_history: add 5 reviewed, digest-pinned exceptions for already-pushed commits carrying synthetic/documentation DSN fixtures (RFC-reserved .invalid/.internal hosts, documented placeholder words) -- manually verified none are live credentials. All three local fast gates (orphan-modules, registry-test-ownership, contract-method-reachability) plus check_public_specs, check_tracked_privacy and check_secret_history now pass locally.
Member
Author
|
Superseded by integration batch #211, which carries this PR's commits. They land on main with the batch. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tests/operator_command_store_upgrade_cli.rs, spawning the realepistemic-graph-serverbinary to exercise thestore-upgrade inspect/store-upgrade applyoperator-command subcommands end to end against a disposable empty data directory.store_upgrade::inspect/applyunit tests insrc/server/persistence/store_upgrade/tests.rs, plus a clap-parse-only unit test insrc/operator_command.rs). Nothing previously spawned the compiled binary and asserted its exit status/stdout JSON report.store-upgrade inspect/applyCLI surface itself) landed on main in PR feat(storage): operator command to inspect and apply offline store upgrades #56 (feat/operator-store-upgrade, commit8dbb5bd9d) for EG-DURABLE-KERNEL-R070; this PR adds the CLI-level test specifically required by EG-DURABLE-KERNEL-R007's own verification clause.Requirement delivered:
EG-DURABLE-KERNEL-R007Test plan
storage_inspect_reports_nothing_to_do_on_an_empty_data_directory,storage_apply_without_confirm_is_refused_and_opens_nothing,storage_apply_with_confirm_reports_nothing_to_do_on_an_empty_data_directory.cargo test -p epistemic-graph --features full --test operator_command_store_upgrade_cli(submitted to the R820/R510 lane-run pool; result not awaited in this PR per the spec-lane protocol — hosted CI is authoritative).🤖 Generated with Claude Code