Repository navigation
test(e2e): follow source remove exit 1 and GitCode MR error on main - #2114
Closed
jeff-r2026 wants to merge 1 commit into
Closed
jeff-r2026 wants to merge 1 commit into
jeff-r2026 wants to merge 1 commit into
Conversation
#2041 made `source remove` of a missing source exit 1 and #2074 added GitCode to the unsupported MR URL message. Three E2E cases still expected the old behaviour and have kept main's E2E jobs red since da482cb: - source-manifest-isolation: the final remove of an already-removed source now expects exit 1 with the same message. - import-from-mr-workflow: match the message that names GitCode. - e2e remote roundtrip: the source added from anthropics/skills is named after its owner ("anthropics"), not "skills"; the old name only passed because removing a missing source used to exit 0. Co-Authored-By: Claude Code <noreply@anthropic.com>
Code Erosion ReportInformational — never blocks the merge.
Scanned 653 files / 142647 SLOC · high-CC functions 1117/14635 * On TypeScript, Rule hits (TS verbosity layer)Standalone
77 distinct lines flagged across |
This was referenced Nov 27, 2026
This was referenced Nov 27, 2026
Collaborator
Author
|
Closing: this PR conflicts with main and has had no updates since its last commit (2026-11-18/22/27). If it is still needed, please rebase onto the latest main and reopen. |
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
main has been red on the E2E jobs since
da482cb0(CI run 45741367519): three E2E cases still expect behaviour that #2041 and #2074 changed on purpose. Every open PR inherits the same two failing fork-safe E2E jobs. This PR updates the tests only; no runtime code changes.source-manifest-isolation-e2e› keeps installation ownership separate (both variants)source removeof a source that is already gone exit 1Source "shared" not found.messagee2e/import-from-mr-workflow› names the step that failed…Only GitHub, TGit, GitLab and GitCode are supportede2e/e2e(GitHub provider, remote fixture) › source add + list + removederiveSourceNamenameshttps://github.com/anthropics/skills.gitafter its owner,anthropics; the test removedskills, which only passed while a missing source exited 0. The retry then failed withSource "anthropics" already existsanthropicsas the source nameTest Plan
On Linux (Node 20), branch rebased on
da482cb0:npm ci && npm run build && npm run typecheck: passnpx vitest run --config vitest.e2e.config.ts src/__tests__/source-manifest-isolation-e2e.test.ts src/__tests__/e2e/import-from-mr-workflow.test.ts: 2 files, 10 tests passed (they fail onda482cb0as in CI run 45741367519)deriveSourceName(src/source.ts:1412, which returns the first path segment), and the main CI log showsSource "anthropics" already existson the retry.Tests-only change, so no real-CLI record is needed.
🤖 Generated with Claude Code