Skip to content

ci: add 2027 branch - #106

Merged
cesarcoatl merged 1 commit into
8.3from
ci/2027-branch
Nov 17, 2026
Merged

cesarcoatl merged 1 commit into
8.3from
ci/2027-branch

Conversation

@cesarcoatl

@cesarcoatl cesarcoatl commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Summary by Sourcery

Add CI maintenance coverage for the 2027 branch.

Enhancements:

  • Extend automated dependency and maintenance workflows to support the 2027 branch.

CI:

  • Add monthly GitHub Actions dependency updates targeting the 2027 branch.
  • Run pip-compile upgrades and pre-commit autoupdates for the 2027 branch.

@sourcery-ai

sourcery-ai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer's Guide

Configuration

Add monthly Dependabot updates for GitHub Actions targeting the 2027 branch, with grouped updates and CI commit-message settings.

  • .github/dependabot.yml L36-52

Include the 2027 branch in the pip-compile upgrade and pre-commit autoupdate workflow matrices.

  • .github/workflows/pip-compile-upgrade.yml L13
  • .github/workflows/pre-commit-autoupdate.yml L12

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 2 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path=".github/dependabot.yml" line_range="48" />
<code_context>
+      coatl-dev-workflows:
+        patterns:
+          - "coatl-dev/workflows/**"
+    target-branch: "2027"
+    labels: ["dependencies"]
+    commit-message:
</code_context>
<issue_to_address>
**2027 updates skip repository checks**

When an automated dependency or maintenance update opens a pull request targeting `2027`, the `ci` workflow only matches pushes and pull requests targeting `8.3`, so its pre-commit, pylint, and tox jobs do not run and the update PR can merge without repository checks.

Add `2027` to the branch filters for the CI workflow's push and pull request events.

Also at `.github/workflows/pip-compile-upgrade.yml:13`, `.github/workflows/pre-commit-autoupdate.yml:12`.
</issue_to_address>

### Comment 2
<location path=".github/workflows/pip-compile-upgrade.yml" line_range="13" />
<code_context>
     strategy:
       matrix:
-        branch: ['8.1', '8.3']
+        branch: ['8.1', '8.3', '2027']
       fail-fast: false
     steps:
</code_context>
<issue_to_address>
**Older locks replace newer updates**

When two `2027` pip-compile runs overlap and the newer run pushes first, both runs force-push to the same upgrade branch, so the older run can replace the newer run's dependency locks with results from its earlier checkout, leaving the PR with stale versions.

Serialize the `2027` runs or prevent an older run from pushing after a newer run.
</issue_to_address>

Sourcery assessment

Approval pending. 2 findings to address first.

Blocking findings: .github/dependabot.yml:48, .github/workflows/pip-compile-upgrade.yml:13


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread .github/dependabot.yml
coatl-dev-workflows:
patterns:
- "coatl-dev/workflows/**"
target-branch: "2027"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · 2027 updates skip repository checks

When an automated dependency or maintenance update opens a pull request targeting 2027, the ci workflow only matches pushes and pull requests targeting 8.3, so its pre-commit, pylint, and tox jobs do not run and the update PR can merge without repository checks.

Add 2027 to the branch filters for the CI workflow's push and pull request events.

Also at .github/workflows/pip-compile-upgrade.yml:13, .github/workflows/pre-commit-autoupdate.yml:12.

Prompt for AI agents
In `.github/dependabot.yml` at line 48:

**2027 updates skip repository checks**

When an automated dependency or maintenance update opens a pull request targeting `2027`, the `ci` workflow only matches pushes and pull requests targeting `8.3`, so its pre-commit, pylint, and tox jobs do not run and the update PR can merge without repository checks.

Add `2027` to the branch filters for the CI workflow's push and pull request events.

Also at `.github/workflows/pip-compile-upgrade.yml:13`, `.github/workflows/pre-commit-autoupdate.yml:12`.

strategy:
matrix:
branch: ['8.1', '8.3']
branch: ['8.1', '8.3', '2027']

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Older locks replace newer updates

When two 2027 pip-compile runs overlap and the newer run pushes first, both runs force-push to the same upgrade branch, so the older run can replace the newer run's dependency locks with results from its earlier checkout, leaving the PR with stale versions.

Serialize the 2027 runs or prevent an older run from pushing after a newer run.

Prompt for AI agents
In `.github/workflows/pip-compile-upgrade.yml` at line 13:

**Older locks replace newer updates**

When two `2027` pip-compile runs overlap and the newer run pushes first, both runs force-push to the same upgrade branch, so the older run can replace the newer run's dependency locks with results from its earlier checkout, leaving the PR with stale versions.

Serialize the `2027` runs or prevent an older run from pushing after a newer run.

@cesarcoatl
cesarcoatl merged commit 2909b4f into 8.3 Nov 17, 2026
5 checks passed
@cesarcoatl
cesarcoatl deleted the ci/2027-branch branch November 17, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant