Repository navigation
Start a KAgent fix task when the main build fails - #1578
Closed
kaggle-agent wants to merge 1 commit into
Closed
kaggle-agent wants to merge 1 commit into
kaggle-agent wants to merge 1 commit into
Conversation
Small intermittent failures in the Python image build keep getting
fixed by hand. When a build on main fails, post { failure } now asks a
KAgent coding agent to fix it and open a PR for dockerops to review. The
agent gets the build URL, commit, failed step and the step's log tail,
since it can't reach ci.kaggle.net. It is told to change nothing when
the failure is infrastructure (registry, disk, network, lost agent).
To capture logs inside the Groovy sandbox, shell steps now run through
trackedSh, which tees their output and stashes the tail on failure.
Previous builds' variables record the tasks already created, so a step
gets no new task while one for it is still open or was created in the
last 24h, and there are at most two tasks a day. The hook is
best-effort, never changes the build result, and keeps the existing
Mattermost notification. Other branches run it as a dry run.
Blocker: agents.dev.kaggle.net is behind IAP, and the Jenkins agents'
service account isn't on its access list yet. Until it is added to
configs/cicd/networking/iap.tf in kaggleazure, the hook logs the
identity it used and skips. Not tested on real Jenkins yet.
kaggle-agent
force-pushed
the
agent/chavezcalderon-20261203213637-748412dd
branch
from
December 3, 2026 22:53
e181c1b to
5def8e0
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Small intermittent failures in the Python image build keep getting
fixed by hand. When a build on main fails, post { failure } now asks a
KAgent coding agent to fix it and open a PR for dockerops to review. The
agent gets the build URL, commit, failed step and the step's log tail,
since it can't reach ci.kaggle.net. It is told to change nothing when
the failure is infrastructure (registry, disk, network, lost agent).
To capture logs inside the Groovy sandbox, shell steps now run through
trackedSh, which tees their output and stashes the tail on failure.
Previous builds' variables record the tasks already created, so a step
gets no new task while one for it is still open or was created in the
last 24h, and there are at most two tasks a day. The hook is
best-effort, never changes the build result, and keeps the existing
Mattermost notification. Other branches run it as a dry run.
Blocker: agents.dev.kaggle.net is behind IAP, and the Jenkins agents'
service account isn't on its access list yet. Until it is added to
configs/cicd/networking/iap.tf in kaggleazure, the hook logs the
identity it used and skips. Not tested on real Jenkins yet.
Task: chavezcalderon-20261203213637-748412dd
Trajectory: view agent transcript
Context: https://chat.google.com/room/-4f8vKAAAAE/WLpGRVfDfcY