Repository navigation
feat(jobs): display per-job out-of-memory evidence - #649
Merged
Merged
Conversation
ImLunaHey
marked this pull request as ready for review
October 26, 2026 16:54
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.


depot jobs <id>anddepot jobs metrics <id>.Validation:
go test ./..., golangci-lint, module verification, CLI build, and command-help smoke check with published dependencies.API: depot/api#6241.
Part of DEP-7915.
Note
Low Risk
Read-only CLI presentation of new API fields with safe fallbacks when OOM data is missing; no auth or data-mutation paths.
Overview
Adds out-of-memory (OOM) evidence to
depot jobs <id>anddepot jobs metrics <id>after the existing job/metrics table output.Table mode shows detection status (unavailable, none observed, or detected), optional unavailable reasons, timestamped kernel-kill events (PID and sanitized process name), and truncation when more than 100 events exist. Help text now calls out OOM alongside CPU/memory metrics. JSON responses pass through the API’s
oompayload unchanged.Bumps the generated Depot API Connect/protobuf modules to the revision that exposes
GithubActionsJobOOM. Shared rendering lives in newwriteOOM; tests cover job and metrics commands in JSON and table modes, including older servers with no OOM data and terminal-safe process names.Reviewed by Cursor Bugbot for commit fd0afdb. Bugbot is set up for automated code reviews on this repo. Configure here.