Repository navigation
test(e2e): stop sharing a Project from the owner's Viewer, and run two more scenarios in CI - #3079
Merged
Merged
Conversation
…o more scenarios in CI ADR 0007 flow 4, from the owner's side: the owner removes the recipient's Identity from one Project through the Viewer's recipient policy routes, as Projects -> Update sharing does. The recipient then receives nothing more for that Project and removes its copies of it, while the other shared Project keeps syncing. The user guide now says so. The project-withdrawal and pre-sync-share scenarios join the specialized E2E matrix in CI and in Full E2E.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Owner
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
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.

Description
ADR 0007 requires an end-to-end test for each sync and sharing flow that completes without Advanced or the CLI. Flow 4, "Stop sharing a Project with someone", was covered only from the recipient's side. This adds the owner's side to the
project-withdrawalscenario, and runs that scenario andpre-sync-sharein CI.e2e:pre-sync-shareande2e:project-withdrawaljoin the specialized E2E matrix inci.yml(pushes tomainand release runs) and ine2e-full.yml(daily, manual, and pull requests labeledci:full). The workflow contract test and the E2E README list them.Type of Change
Testing
CODEMEM_E2E_BUILD=1 pnpm run e2e:project-withdrawalpassed in an isolated Docker stack with synthetic data. With the owner's change removed, it fails because the recipient still holds its alpha copies.pnpm run e2e:pre-sync-sharepassed.pnpm run test:ci-workflowpassed (75 tests), and the lint ratchet passed.Relevant checks pass locally (
pnpm run tsc,pnpm run lint,pnpm run test)Added/updated tests for changes
Manually verified changes work as expected
Checklist
pnpm run lintpasses for touched files)