Skip to content

Conversation

@jslee02
Copy link
Member

@jslee02 jslee02 commented Jan 18, 2026

Summary

  • Add concurrency configuration to ci_altlinux.yml and ci_freebsd.yml (were missing)
  • Fix update_lockfiles.yml to not cancel scheduled jobs (was using cancel-in-progress: true)

Details

This ensures all CI workflows cancel in-progress jobs when new commits are pushed to the same branch, except:

  • main branch: Never cancel to ensure full test coverage on the primary branch
  • scheduled jobs: Never cancel to ensure periodic validation runs complete

All workflows now use the consistent pattern:

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: ${{ github.event_name != 'schedule' && github.ref != 'refs/heads/main' }}

Checklist

  • No code changes (CI config only)
  • Consistent with existing workflow patterns

Add concurrency configuration to cancel in-progress CI jobs when new
commits are pushed to the same branch, with exceptions for:
- main branch (never cancel to ensure full test coverage)
- scheduled jobs (never cancel to ensure periodic validation runs)

Changes:
- ci_altlinux.yml: Add concurrency block (was missing)
- ci_freebsd.yml: Add concurrency block (was missing)
- update_lockfiles.yml: Change cancel-in-progress from 'true' to
  conditional expression to exclude scheduled runs
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 62a733cc70

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Move concurrency from workflow-level to job-level with matrix.base in
the group. This prevents race conditions when overlapping runs push to
the same update-pixi-* branches while still allowing jobs for different
base branches to run in parallel.

Addresses review feedback about potential non-fast-forward push failures.
@jslee02
Copy link
Member Author

jslee02 commented Jan 18, 2026

Addressed in 363eea0 - moved concurrency to job-level with matrix.base in the group. This ensures jobs for different base branches can run in parallel while preventing race conditions on the same update-pixi-* branch.

@jslee02
Copy link
Member Author

jslee02 commented Jan 18, 2026

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Bravo.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Document that AI agents should not reply to AI-generated review comments
(e.g., Codex bot). The code change is the response - no need for bot-to-bot
conversations that clutter PR history.
@jslee02
Copy link
Member Author

jslee02 commented Jan 18, 2026

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bda4c6b2fc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Include github.event_name in the concurrency group key so that manual
workflow_dispatch runs don't cancel in-progress scheduled runs. This
ensures weekly lockfile updates complete even if someone triggers a
manual run during the scheduled window.
@jslee02
Copy link
Member Author

jslee02 commented Jan 18, 2026

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9bfd1365b8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

This workflow has no push trigger, so the 'cancel on new commit' behavior
doesn't apply. Using cancel-in-progress: false ensures runs queue instead
of racing or cancelling each other, preventing push conflicts on the
update-pixi-* branches.
@jslee02
Copy link
Member Author

jslee02 commented Jan 18, 2026

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Another round soon, please!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Document the GitHub GraphQL API for resolving review threads, enabling
AI agents to mark conversations as resolved after addressing feedback
without adding noisy comments.
Document the complete workflow for AI agents handling automated reviews:
1. Push fix
2. Re-trigger review (@codex review)
3. Monitor for new issues or 'no issues' response
4. Resolve threads and finish when clean
@jslee02
Copy link
Member Author

jslee02 commented Jan 18, 2026

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. More of your lovely PRs please.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@jslee02 jslee02 merged commit 36c9845 into main Jan 18, 2026
8 of 24 checks passed
@jslee02 jslee02 deleted the ci/add-concurrency-cancel-in-progress branch January 18, 2026 08:48
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.

2 participants