Repository navigation
ci: prepare default-disabled Kody fix proposal caller #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
jaywedgeworth22
wants to merge
1
commit into
main
Choose a base branch
from
codex/kody-fleet-caller-20261005
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # DEFAULT-DISABLED SETUP DRAFT. This pin implements the initial DeepSeek route only. | ||
| # MiniMax routing and budget integration remain pending in Usage-Monitor #1602: | ||
| # https://github.com/Simple-With-Us/Usage-Monitor/issues/1602 | ||
| # Keep disabled until the reviewed replacement and secure activation setup are ready. | ||
| # daily_attempt_limit is zero and budget_policy_id is pending. | ||
| name: Kody DeepSeek Fix Proposals | ||
|
|
||
| # Generated offline. Missing SWU_KODY_AUTOFIX_ENABLED means disabled. | ||
| # Budget approval and protected-environment setup are separate owner actions. | ||
| # Daily attempt slots bound this repository only; they are not a dollar cap. | ||
| on: | ||
| check_run: | ||
| types: [completed] | ||
|
|
||
| permissions: {} | ||
| concurrency: | ||
| group: kody-caller-${{ github.repository_id }}-${{ github.event.check_run.pull_requests[0].number || github.event.check_run.id }} | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| propose: | ||
| if: >- | ||
| vars.SWU_KODY_AUTOFIX_ENABLED == 'true' && | ||
| github.event_name == 'check_run' && github.event.action == 'completed' && | ||
| github.run_attempt == 1 && | ||
| github.event.check_run.app.id == 413034 && | ||
| github.event.sender.type == 'Bot' && github.event.sender.id == 148880201 && | ||
| github.event.sender.login == 'kody-ai[bot]' && | ||
| github.event.check_run.conclusion == 'success' && | ||
| github.event.check_run.pull_requests[0].number != null && | ||
| github.event.check_run.pull_requests[1] == null | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| checks: read | ||
| actions: read | ||
| uses: Simple-With-Us/congress-trading-shared/.github/workflows/kody-autofix-reusable.yml@8ef33de1953158f26b2fd872b8d1bc045032844e | ||
| with: | ||
| repository_id: '1370549454' | ||
| profile: 'swift' | ||
| source_prefixes: '["Sources/CodeCaps/","Sources/QuotaCore/"]' | ||
| daily_attempt_limit: 0 | ||
| budget_policy_id: 'pending' | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concurrency cancellation in
.github/workflows/kody-fleet-autofix.ymlsilently drops serialized Kody runs for the same PR: under GitHub's defaultqueue: single, each newly queued run cancels the previous pending run regardless ofcancel-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 bygithub.event.check_run.id(falling back togithub.event.check_run.pull_requests[0].number) so each eligible trigger owns its slot while the callee's per-UTC-daykody-reservegroup and create-only attempt tags bound paid work, or usequeue: maxif per-PR serialization must remain.Prompt for LLM
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.