ci: prepare default-disabled Kody fix proposal caller - #166
jaywedgeworth22 wants to merge 1 commit into
Conversation
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
🤔 Insufficient Task ContextI found a task linked to this PR, but it only contains minimal information (title only, no description or acceptance criteria). To perform a meaningful business rules validation, I need more details. 🔍 What I need to validate:
💡 How to improve the task context:
|
| concurrency: | ||
| group: kody-caller-${{ github.repository_id }}-${{ github.event.check_run.pull_requests[0].number || github.event.check_run.id }} | ||
| cancel-in-progress: false |
There was a problem hiding this comment.
Concurrency cancellation in .github/workflows/kody-fleet-autofix.yml silently drops serialized Kody runs for the same PR: under GitHub's default queue: single, each newly queued run cancels the previous pending run regardless of cancel-in-progress: false, which protects only the in-progress run, so a third near-simultaneous check completion can prevent fix proposals for the reviewed head SHA even though the daily slot remains. Key the group by github.event.check_run.id (falling back to github.event.check_run.pull_requests[0].number) so each eligible trigger owns its slot while the callee's per-UTC-day kody-reserve group and create-only attempt tags bound paid work, or use queue: max if per-PR serialization must remain.
concurrency:
# Key on the check run id: a per-PR group serializes runs, and under the
# default `queue: single` the pending run is canceled when a newer one is
# queued, silently dropping proposals even with cancel-in-progress: false.
group: kody-caller-${{ github.repository_id }}-${{ github.event.check_run.id || github.event.check_run.pull_requests[0].number }}
cancel-in-progress: falsePrompt for LLM
File .github/workflows/kody-fleet-autofix.yml:
Line 16 to 18:
Concurrency cancellation in `.github/workflows/kody-fleet-autofix.yml` silently drops serialized Kody runs for the same PR: under GitHub's default `queue: single`, each newly queued run cancels the previous pending run regardless of `cancel-in-progress: false`, which protects only the in-progress run, so a third near-simultaneous check completion can prevent fix proposals for the reviewed head SHA even though the daily slot remains. Key the group by `github.event.check_run.id` (falling back to `github.event.check_run.pull_requests[0].number`) so each eligible trigger owns its slot while the callee's per-UTC-day `kody-reserve` group and create-only attempt tags bound paid work, or use `queue: max` if per-PR serialization must remain.
Suggested Code:
concurrency:
# Key on the check run id: a per-PR group serializes runs, and under the
# default `queue: single` the pending run is canceled when a newer one is
# queued, silently dropping proposals even with cancel-in-progress: false.
group: kody-caller-${{ github.repository_id }}-${{ github.event.check_run.id || github.event.check_run.pull_requests[0].number }}
cancel-in-progress: false
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.
Summary
swiftprofile and limits proposal inputs toSources/CodeCaps/andSources/QuotaCore/.0, a pending budget policy, and no enabled repository variable. MiniMax routing and budget integration remain explicitly out of scope until a reviewed replacement and secure activation setup are ready.Concurrency behavior
The workflow groups work by repository and associated PR, with check-run ID as a fallback, and does not cancel an in-progress run. However, the default concurrency queue allows only one pending run per group, so a newer event can still replace an unstarted proposal run for the same PR.