Conversation
Add a workspace test package that runs exhaustive production CLI scenarios against an externally supplied built forkpress binary via FORKPRESS_E2E_BIN. The suite covers command surface, validation, no-site diagnostics, init, server lifecycle, branch operations, Git checkout flow, agents, logs, doctor, storage, and README command docs.
Cover branchctl aliases, local git branch creation, pull, push, protected main deletion, and server stop in the full COW runtime e2e flow.
Run the Cargo-managed CLI e2e suite in make and CI against the built production binary, document the e2e commands, and update production command docs for the covered aliases.
Keep the ignored exhaustive test as the ordered entrypoint, but move harness logic, shared helpers, and scenario groups into focused modules.
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
Adds production-focused end-to-end coverage for the
forkpressCLI after the repository split:forkpressbinary and checks the production command surface, help text, early validation failures, no-site diagnostics, and README command documentationbranchctl, localforkpress git branch create,forkpress push,forkpress pull, branch show/status/delete behavior, main-branch delete rejection, andforkpress server stopmake test-prod-e2eValidation
make distmake forkpressmake test-prod-clitests/cow/e2e.sh target/aarch64-apple-darwin/release/forkpressmake test-prod-e2ecargo fmt --checkcargo test --workspace --exclude forkpress-clicargo test -p forkpress-core --features dev-experimentsFORKPRESS_RUNTIME_BUNDLE=/dev/null cargo test -p forkpress-cli --bin forkpressFORKPRESS_RUNTIME_BUNDLE=/dev/null cargo test -p forkpress-cli --features dev-experiments --bin forkpress-devmake test-cowLocal full release-binary e2e validation was run on macOS arm64 (
aarch64-apple-darwin). CI runs the new production CLI harness and existing full COW e2e on Linux musl and both macOS release targets.