Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
975fe99
fix(guards): scope no-local-schemas to the lines a change added, and …
mrveiss Sep 11, 2026
b9ee386
ci(guards): switch on changed-lines scoping for no-local-schemas at c…
mrveiss Sep 11, 2026
841a5cb
fix(guards): follow renames so a git mv is not blamed for the models …
mrveiss Sep 11, 2026
5fccdb7
fix(guards): stay honest when pre-commit stages nothing, under --from…
mrveiss Sep 11, 2026
387619b
Merge remote-tracking branch 'origin/Dev_new_gui' into issue-16178-sc…
mrveiss Sep 11, 2026
d5b4566
fix(guards): trust PRE_COMMIT_FROM_REF only when pre-commit itself se…
mrveiss Sep 11, 2026
8eebce9
feat(agents): renew work claims only while the run makes progress, an…
mrveiss Sep 11, 2026
82f2d57
fix(agents): report progress per LLM attempt, end a run's claim on ex…
mrveiss Sep 11, 2026
df4863b
chore(claim): helper-02 takes the node GPU data path (#16280, #16281)
mrveiss Sep 11, 2026
e5f8680
fix(hooks): judge only the functions a change touches in function-len…
mrveiss Sep 11, 2026
794b61a
fix(agents): report progress on every exit of every LLM attempt, and …
mrveiss Sep 11, 2026
f5e4397
test(agents): wait on the lapse, not the clock, in the claim-liveness…
mrveiss Sep 11, 2026
3db7f46
fix(hooks): address the function-length scoping review: one whole-fil…
mrveiss Sep 11, 2026
4773ce4
fix(hooks): refuse to scope function-length-check outside the reposit…
mrveiss Sep 11, 2026
d125eca
feat(slm): nodes report their GPUs in the heartbeat, and the SLM serv…
mrveiss Sep 11, 2026
b963ca1
test(slm): pin GET /api/monitoring/gpu/nodes and where its guard come…
mrveiss Sep 11, 2026
7ce7e88
chore(types): regenerate generated API types from OpenAPI schema(s)
github-actions[bot] Sep 11, 2026
7a39608
refactor(backend): worker_node and diagnostics read GPUs through gpu_…
mrveiss Sep 11, 2026
8d2d7ed
fix(backend): GPU availability sees any NVIDIA GPU, not only an RTX 4…
mrveiss Sep 11, 2026
fdbc17f
refactor(backend): both GPU metrics collectors read rows through gpu_…
mrveiss Sep 11, 2026
ca209ef
refactor(backend): gpu_detection reads nvidia-smi and rocm-smi throug…
mrveiss Sep 11, 2026
74ead7a
test(backend): GPU parser tests patch the live module and use fixture…
mrveiss Sep 11, 2026
0a4c76a
feat(slm-frontend): the monitoring view shows each node's GPU, and sa…
mrveiss Sep 11, 2026
fc48abe
Merge branch 'Dev_new_gui' into issue-15950-claim-liveness
mrveiss Sep 11, 2026
b7b77ff
Merge branch 'Dev_new_gui' into issue-16280
mrveiss Sep 11, 2026
9f68e49
Merge remote-tracking branch 'origin/Dev_new_gui' into issue-16178-sc…
mrveiss Sep 11, 2026
665cb78
fix(hooks): import the scan helpers as tools.lint so the infra import…
mrveiss Sep 11, 2026
ee4a16a
Merge remote-tracking branch 'origin/Dev_new_gui' into issue-16178-sc…
mrveiss Sep 11, 2026
e24da7f
Merge remote-tracking branch 'origin/Dev_new_gui' into issue-16280
mrveiss Sep 11, 2026
1c7eb5f
fix(slm-agent): mirror the heartbeat GPU changes into the Ansible rol…
mrveiss Sep 11, 2026
106bff0
refactor(gpu): build both collectors' GPU metrics from one mapping in…
mrveiss Sep 11, 2026
ea864bd
feat(slm-frontend): type the GPU nodes read from the generated contra…
mrveiss Sep 11, 2026
03cf17e
Merge branch 'issue-15950-claim-liveness' into Dev_new_gui for #16273
mrveiss Sep 11, 2026
e00a503
fix(pre-commit): run detect-secrets serially and refresh the baseline…
mrveiss Sep 11, 2026
49871dc
train-g: merge #16349 at e00a5037e2
mrveiss Sep 11, 2026
7db68e3
train-g: merge #16292 at ea864bd542
mrveiss Sep 11, 2026
22c1c99
train-g: merge #16273 at 03cf17e0ef
mrveiss Sep 11, 2026
8430ad2
train-g: merge #16241 at ee4a16a88d
mrveiss Sep 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,17 @@ jobs:
# stage and a direct run of the hook still scan whole files.
run: bash pipeline-scripts/check-pre-commit-hook-pr.sh --changed-lines-only pre-commit-no-print-console

- name: Block new local BaseModel definitions in API files (#6056, #16178)
# --changed-lines-only (#16178), and unlike the two scoped steps above, the
# pre-commit stage is scoped too: this hook had no baseline and no blocking
# CI step (enforce-precommit.yml runs every hook, but only as warnings), so
# its whole-file read blocked the commit itself, failing a change for a
# model it neither added nor could move (every original domain schemas_*.py
# is frozen at its size ceiling). With --python the wrapper cannot parse the
# validator's output, so it hands over the base it resolved and the hook
# scopes itself. A direct run of the hook still reads whole files.
run: bash pipeline-scripts/check-pre-commit-hook-pr.sh --changed-lines-only --python tools/lint/check_no_local_schemas.py --ext py

- name: Check repo conventions — third-party names, doc cross-links (#13876)
env:
CONVENTIONS_DENYLIST_CONTENT: ${{ secrets.CONVENTIONS_DENYLIST }}
Expand Down
17 changes: 15 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -511,10 +511,16 @@ repos:
- id: no-local-schemas
name: Block local BaseModel definitions in non-schema API files (#6056)
entry: tools/lint/check_no_local_schemas.py
# --changed-lines-only (#16178): judge the models this commit ADDED, read
# from the staged diff. Whole-file, a one-line edit to a legacy module failed
# the commit for a model it never touched, and every original domain
# schemas_*.py is frozen at its size ceiling, so the fix it asked for was
# impossible. A direct run of the hook still reads whole files.
args: [--changed-lines-only]
language: python
files: ^autobot-backend/api/(?!schemas_).*\.py$
stages: [pre-commit]
description: "Move BaseModel subclasses to domain schemas_*.py files (#6056)"
description: "New BaseModel subclasses go in a schemas_*.py module with headroom (#6056, #16178)"

# AutoBot custom: regression-prevention for #6558 (decorator order) +
# #6633 (stacked-duplicate). In Python ``@A @B def f`` ≡ ``f = A(B(f))``;
Expand Down Expand Up @@ -617,6 +623,11 @@ repos:
hooks:
- id: detect-secrets
args: ['--baseline', '.secrets.baseline']
# #16343: one process at a time. Upstream's manifest sets no
# require_serial, so pre-commit ran this hook in parallel batches that each
# rewrote .secrets.baseline and raced. The last writer won, and a large
# commit (any base merge) failed on every attempt.
require_serial: true

# Block commits when branch is shared with a worktree (Issue #1654)
# Must run BEFORE the stash/restore cycle to prevent branch corruption.
Expand Down Expand Up @@ -739,7 +750,9 @@ repos:
entry: autobot-infrastructure/shared/scripts/hooks/pre-commit-function-length
language: script
types: [python]
pass_filenames: false
# Files are passed so a `--from-ref` run, which stages nothing, still has a
# change to judge; the checker scopes to the functions it touched (#16191).
pass_filenames: true
stages: [pre-commit]
description: "Blocks commits with functions >65 lines, warns for 51-65 lines"

Expand Down
Loading
Loading