Skip to content

fix(skills): read StatusContext results in deps CI gate - #40

Merged
mortik merged 1 commit into
mainfrom
fix/deps-skill-status-context
Oct 7, 2026
Merged

mortik merged 1 commit into
mainfrom
fix/deps-skill-status-context

Conversation

@mortik

@mortik mortik commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

The Gate B jq filter in the deps skill only looked at .conclusion. Commit status entries in statusCheckRollup (CodeRabbit, Devin Review) are StatusContext objects that report their result in .state and their name in .context, so every green PR showed up with null: null failures.

The filter now uses .conclusion // .state for the result and .name // .context for the label.

Verified against the open Dependabot PRs #36–#39 (all green → empty output) and a sample rollup with a failed status context, a failed check run and an in-progress check (all three reported).

🤖

Summary by CodeRabbit

  • Bug Fixes
    • Gate B now correctly evaluates status checks that report results through either supported result field, including commit status contexts, when determining whether the rollup is green.

@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 74e28a5f-472d-4ede-aa21-443b96516071
📥 Commits

Reviewing files that changed from the base of the PR and between cefe06b and c07e23d.

📒 Files selected for processing (1)
  • .claude/skills/deps/SKILL.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

Gate B’s status-check filter now reads either conclusion or state and labels results with either name or context.

Changes

Status-check filtering

Layer / File(s) Summary
Filter status results
.claude/skills/deps/SKILL.md
Gate B excludes SUCCESS, SKIPPED, and NEUTRAL using conclusion or state. It labels remaining results with name or context.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to c07e2

No actionable merge-blocking risk is evident; pending checks remain not-green while the filter handles both status-context and check-run fields.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: updating the deps CI gate to read StatusContext results.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mortik
mortik added this pull request to the merge queue Oct 7, 2026
Merged via the queue into main with commit 4348f25 Oct 7, 2026
3 checks passed
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