Conversation
added 9 commits
March 16, 2026 17:21
Replace all yarn commands with npm equivalents across package.json scripts, CI workflows, husky hooks, and documentation. Delete yarn.lock and generate package-lock.json. Rebuild dist/. Made-with: Cursor
- Update error handling to use the new BackportResponse type where all errors are in the results array - Add ignore_error_codes input with sensible defaults (merge-conflict-exception, no-branches-exception) - Update @vercel/ncc to 0.38.4 for modern JS syntax support - Fix tests to use vi.mock for ESM compatibility Made-with: Cursor
Major bumps: @actions/core 3.x, @actions/exec 3.x, @actions/github 9.x, @octokit/action 8.x, @octokit/graphql 9.x. Minor/patch bumps for lodash, @types/lodash, @typescript-eslint/*, and lint-staged. Fix tests to mock @actions/core at module level since v3 is a proper ESM module whose exports cannot be spied on with vi.spyOn. Made-with: Cursor
Fixes runtime crash in bundled environments where backport's package.json could not be found. Made-with: Cursor
Replace the bash e2e-test.sh with a TypeScript smoke test under scripts/smoke-test/. Add @octokit/rest, chalk, and p-retry as dev dependencies. Condense the release SKILL.md to reference the automated smoke test. Made-with: Cursor
Move scripts to their own tsconfig.json so ncc only bundles src/. Remove stale dist/ artifacts (modules/, workers, etc.) that were incorrectly included. Made-with: Cursor
Made-with: Cursor
This reverts commit 2ca2d00.
Add assertion to happy path test verifying the action posts a status comment on the source PR. Add Test 3 that creates a deliberate merge conflict and verifies autoResolveConflictsWithTheirs produces a backport PR with the conflict resolved. Made-with: Cursor
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
backport@11.0.0-beta.1with unified error handling and new response typesignore_error_codesinput to control which errors fail CI (defaults:merge-conflict-exception,no-branches-exception)npm run test:e2e) that validates the action against thebackport-org/backport-demorepositorySmoke test coverage (8 assertions)
autoResolveConflictsWithTheirs--strategy-option=theirsTest plan
dist/index.jsbundle size change (expected: large diff due to major version bump of backport dependency)Made with Cursor