Skip to content

Add citus-merge-loop and citus-check-style-reindent SKILLs - #8876

Open
Onur Tirtir (onurctirtir) wants to merge 6 commits into
mainfrom
new-skills
Open

Onur Tirtir (onurctirtir) wants to merge 6 commits into
mainfrom
new-skills

Conversation

@onurctirtir

Copy link
Copy Markdown
Member

Also shorten the description of .github\skills\citus-backport\SKILL.md.

Onur Tirtir and others added 2 commits September 25, 2026 14:21
Also shorten the description of .github\skills\citus-backport\SKILL.md.
@codecov

codecov Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.77%. Comparing base (bfb8600) to head (a635971).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8876   +/-   ##
=======================================
  Coverage   88.77%   88.77%           
=======================================
  Files         290      290           
  Lines       65149    65149           
  Branches     8225     8225           
=======================================
+ Hits        57835    57836    +1     
  Misses       4938     4938           
+ Partials     2376     2375    -1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI 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.

Copilot review overview

🟡 Changes recommended

The merge loop has unreachable handlers and incomplete state handling, while the reindent workflow does not reproduce CI’s pinned formatter.

Review effort: Balanced
Findings: 2 High severity · 6 Medium severity · 1 Low severity

Open (9)
What changed in this PR

Adds reusable Copilot skills for batch merging and style correction, while refining skill discovery documentation.

Changes:

  • Adds batch PR merge and reindent workflows.
  • Registers both skills in Copilot instructions.
  • Shortens the backport skill description.
File Description
.github/​skills/​citus-merge-loop/​SKILL.md Defines the merge automation loop.
.github/​skills/​citus-check-style-reindent/​SKILL.md Defines local style correction steps.
.github/​skills/​citus-backport/​SKILL.md Condenses discovery metadata.
.github/​copilot-instructions.md Adds skill index entries.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/skills/citus-merge-loop/SKILL.md Outdated
Comment thread .github/skills/citus-merge-loop/SKILL.md Outdated
Comment thread .github/skills/citus-check-style-reindent/SKILL.md Outdated
Comment thread .github/skills/citus-merge-loop/SKILL.md Outdated
Comment thread .github/skills/citus-merge-loop/SKILL.md Outdated
Comment thread .github/skills/citus-merge-loop/SKILL.md Outdated
Comment thread .github/skills/citus-merge-loop/SKILL.md Outdated
Comment thread .github/skills/citus-merge-loop/SKILL.md Outdated
Comment thread .github/copilot-instructions.md Outdated
Onur Tirtir and others added 2 commits September 28, 2026 14:57
- Read reviewDecision explicitly instead of vaguely 'PR is not approved'.
- Read every check instead of --required: branch protection only requires the
  aggregate 'CI' job, so check-style and the flakyness jobs never appear there
  and their special-case rules were unreachable.
- Handle the 'cancel' bucket like a failure: rerun it with its own bounded
  counter, then give up.
- Take the PR's changed-file allowlist from 'gh pr diff --name-only' instead of
  a local diff against a possibly stale origin/<base-branch>.
- Rerun failed jobs one at a time via 'gh run rerun --job <databaseId>', each
  with its own counter, instead of 'gh run rerun --failed'.
- Verify the squash-merge actually succeeded before recording 'merged'.
- Pin citusdata/tools to style_checker_tools_version too, not just uncrustify;
  CI runs citus_indent from the stylechecker image built at that exact tag.
- Fix the 'no remote lookups' claim in copilot-instructions.md.
- Store both SKILL.md files with LF endings: their CRLF endings made
  ci/editorconfig.sh rewrite them and fail check-style.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Onur Tirtir and others added 2 commits September 29, 2026 12:59
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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