Skip to content

ci: run Jev labels after completed Greptile reviews - #1308

Merged
1jehuang merged 2 commits into
masterfrom
ci/greptile-before-jev
Sep 19, 2026
Merged

1jehuang merged 2 commits into
masterfrom
ci/greptile-before-jev

Conversation

@1jehuang

@1jehuang 1jehuang commented Sep 19, 2026 •

Copy link
Copy Markdown
Owner

Closes #1307

Summary

  • Replace immediate PR-open/update labeling with trusted Greptile check-run/check-suite completion events.
  • Require official app 867647, exact review name, current PR head, and completed suite/run. A pending rerequest blocks old success. Empty event PR associations resolve against live open PR heads.
  • Include current authenticated review summaries/findings. Recheck freshness before writes.
  • Keep manual dispatch review-gated. No PR checkout, artifacts, or execution with credentials.
  • Add manual ready-to-merge to the standalone taxonomy; never assigned by Jev. The repository label already exists.

Validation

  • Pinned standalone action e0f57f97afccad77134025434e1eb83f24c0f554: 82 tests pass, including suite-rerequest race, reused IDs, wrong app/head, authenticated findings, unknown review associations, and no model calls while waiting.

  • Live real Greptile review extraction succeeded for fix(terminal): use tail expression for macOS terminal detection #1295.

  • Backfill attempted all 25 existing PRs: 20 blocked by repository-wide 1200+ file diffs and 5 waiting for a review. Zero fabricated labels or ready-to-merge assignments.

  • Scoped workflow-only change from current master. Requested production sequence is Greptile → Jev → reviewer merge decision.

  • Independent review found and verified fixes for suite-rerequest freshness and unrelated-app concurrency displacement.

@github-actions github-actions Bot added area: ci CI workflows, automation, and build checks. size: S Focused change within one component; limited behavior change and few interactions. type: maintenance Dependency updates, build upkeep, and routine maintenance. labels Sep 19, 2026
@github-actions github-actions Bot added the security Security hardening or security-sensitive changes. label Sep 19, 2026
@1jehuang
1jehuang merged commit 89d54e6 into master Sep 19, 2026
3 of 5 checks passed
@greptile-apps

greptile-apps Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

Safe to merge.

What we checked:

  • Compared representative event routing before and after the workflow update. T-Rex
  • Verified that trusted check_run and check_suite events pass their completed SHA to the labeler, while an untrusted check does not start the job. T-Rex
  • Confirmed manual dispatch supplies the requested pull-request number and remains valid. T-Rex
  • Observed the after-run details showing trusted check_run SHA aaaa…, trusted check_suite SHA bbbb…, untrusted check_run job_runs=False, and workflow_dispatch with pull-request=1308, and noted the before/after pin change while maintaining the same routing behavior. T-Rex

Summary

No issues found.

This workflow now applies labels only after a completed Greptile review event from the trusted app, or when a maintainer explicitly dispatches it. Representative event payloads confirmed trusted check runs and suites provide their completed SHA, unrelated checks do not start labeling, and manual dispatch keeps using the supplied pull-request number.

Reviews (1) · Last reviewed commit: "ci: isolate trusted review concurrency a..."

KooshaPari pushed a commit to KooshaPari/KCode that referenced this pull request Oct 9, 2026
* ci: label PRs after current-head Greptile reviews

* ci: isolate trusted review concurrency and pin verified action
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, automation, and build checks. security Security hardening or security-sensitive changes. size: S Focused change within one component; limited behavior change and few interactions. type: maintenance Dependency updates, build upkeep, and routine maintenance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run semantic PR labeling after Greptile and add manual merge-readiness label

1 participant