Skip to content

Fix dry-run crash, check re-runs, cross-app runs and stuck checks - #1117

Open
alexggordon wants to merge 2 commits into
github-community-projects:main-enterprisefrom
alexggordon:alexggordon/fix-safe-settings-defects
Open

alexggordon wants to merge 2 commits into
github-community-projects:main-enterprisefrom
alexggordon:alexggordon/fix-safe-settings-defects

Conversation

@alexggordon

Copy link
Copy Markdown

- Repository.sync(): await side-effect promises in both modes and report
  failures through handleSideEffectError(). A failed default-branch
  creation on an empty repo no longer causes an unhandled rejection in
  NOP mode, and in apply mode no longer triggers force_create.
- check_suite.rerequested: remove the duplicate handlers that called
  createCheckRun() without a head_sha (422) and route re-runs through
  the check_suite.requested handler. Fixes github-community-projects#1015.
- check_run.created: skip check runs created by another app, using the
  app ID captured in info().
- Paginate pulls.listFiles (per_page 100, 3,000-file API cap) so files
  after the first 30 are inspected. Fixes github-community-projects#1080.
- handleResults(): always complete the check run when posting the PR
  comment fails, and note the failure in the check output. Refs github-community-projects#245, github-community-projects#414.
- pull_request.opened/reopened: read head.ref instead of the non-existent
  head_branch. Behavior change: PRs whose head is the default branch no
  longer get a validator check.
@alexggordon
alexggordon force-pushed the alexggordon/fix-safe-settings-defects branch from 6b06dc4 to f30a86e Compare October 23, 2026 21:49

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant