You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Train T99 lands seven approved PRs, M4 first; #21120, #21087 and #21046 were ejected for guard failures (audit vocabulary, an unimported env-registry module, a direct ast.parse with a hand-bound repo root), and #20989 for an undeclared glob and a hand-rolled comment check. This merge train is built on current main.
The pull request changes codebase analytics, NPU search fallbacks, mesh re-embedding, company OS end-to-end tests, and SLM update and authentication behaviour. It also updates SLM design-system documentation and shared dependency pins.
Changes: Codebase analytics
Layer / File(s)
Summary
Problem filtering and deduplication autobot-backend/api/codebase_analytics/problem_query.py, autobot-backend/api/codebase_analytics/problem_dedup.py, autobot-backend/api/codebase_analytics/endpoints/stats.py, autobot-backend/api/codebase_analytics/endpoints/report.py, autobot-backend/api/codebase_analytics/*_20493_test.py
The /problems endpoint accepts a file category and filters findings after file validation. Same-location findings are deduplicated. Tests cover category handling and deduplication while shared stats fetching retains duplicates.
The frontend loads code-smell findings by category, computes shared severity and type summaries, and builds category-labelled exports. The panel adds category selection and loading state. Tests and recorded file-size and source-scoping limits are updated.
Mesh re-embedding consumer
Layer / File(s)
Summary
Queue processing and reindexing autobot-backend/services/mesh_brain/reembed_consumer.py, autobot_shared/env_registry.py, autobot_shared/env_registry_mesh_reembed.py
The consumer processes queued document IDs under a leader lease. It validates paths, retries failed reindexes and dead-letters invalid paths or items at the attempt limit. Five consumer settings are registered.
Consumer lifecycle and validation autobot-backend/initialization/*, autobot-backend/services/scheduler_registry.py, autobot-backend/services/mesh_brain/reembed_consumer_test.py, docs/developer/ENV_VARS.md, changelog/unreleased/20535-mesh-reembed-consumer.md
Lifespan hooks start and stop the consumer independently of the mesh scheduler enable flag. The scheduler registry, tests, environment-variable documentation and changelog cover its setup and operation.
The fallback paths use basic vector search with quarantine applied to filters and remove quarantined results. Regression tests check result filtering and prevent fallback search recursion.
Company OS end-to-end test
Layer / File(s)
Summary
Budget and activity assertions autobot-backend/tests/company_os_e2e/_expected_activity.py, autobot-backend/tests/company_os_e2e/_helpers.py, autobot-backend/tests/company_os_e2e/test_e2e_04_budget_and_pause.py, autobot-backend/tests/company_os_e2e/test_e2e_05_approval_and_audit.py
The budget test pauses and resumes its subject agent, verifies its active state and waits for the scheduler refusal log. Activity matching can exclude actions with a configured prefix.
SLM failed-enrollment filtering
Layer / File(s)
Summary
Enrollment markers and target filtering autobot-slm-backend/services/node_events.py, autobot-slm-backend/api/nodes.py, autobot-slm-backend/services/schedule_executor.py
Enrollment events receive a marker. Target filtering identifies nodes whose latest marked enrollment outcome is a deployment failure.
Update jobs and skip records autobot-slm-backend/models/enrollment_skip.py, autobot-slm-backend/api/code_sync.py, autobot-slm-frontend/openapi.json, autobot-slm-backend/tests/api/test_fleet_skip_failed_enrollment_21036.py, autobot-slm-backend/tests/api/test_collect_outdated_node_ids.py, autobot-slm-backend/tests/api/test_schedule_specific_targets_19367.py, autobot-slm-frontend/src/composables/useCodeSync.test.ts, autobot-slm-frontend/src/views/CodeSyncView.test.ts
Update jobs report excluded nodes as enrollment skips. Code-sync and scheduled target selection exclude nodes with a latest marked enrollment failure. Tests and the API schema cover skip records and target selection.
The person-copy endpoint records password epochs before applying inactive-person or changed-password updates. Tests cover token validity, epoch-write failures, retries and commit ordering.
The guide adds measured palette-step mappings, usage counts, role-specific utility suggestions and instructions to rebuild the table when the baseline changes.
The filelock minimum and the coupled torch and torchvision pins are updated.
Merge Risk: High · previous review 8bdc7
This PR bundles several features, and some of them do not work as intended. The mesh re-embed consumer would dead-letter every flagged neighbour. The SLM model import can break test collection. Failed enrollment lookups can report a fleet as up to date. Password-change session revocation leaves a narrow window in which an old session survives. These should be fixed before merging. The author also notes the PR is superseded by #21221.
Pre-merge checks: 3 · 1
Failed checks: 1 inconclusive
Check name
Status
Explanation
Resolution
Title check
The title lists PR numbers only and does not name the changes. It is a chore merge-train title with a list of seven PRs. The changeset covers several areas: dependency pins, analytics code-smell count…
Rename the PR to summarise the main changes in plain terms. For example, name the mesh re-embed consumer, the SLM enrollment skip handling, or the code-smell analytics changes. Keep the merge-train PR list in the description instead of the …
Passed checks: 3 passed
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title lists PR numbers only and does not name the changes. It is a chore merge-train title with a list of seven PRs. The changeset covers several areas: dependency pins, analytics code-smell counters and category filters, mesh re-embed consumer, SLM enrollment skip handling, person-copy session revocation, knowledge-search fallbacks, and design-system tokens. The title does not describe any one of these. It is a real description of the PR's purpose as a merge train, but it is not specific to the primary change. The title is therefore partially related to the changeset, which passes under the criteria. It is also vague in that it names no changes, so it is not clearly informative to a teammate scanning history.
Resolution
Rename the PR to summarise the main changes in plain terms. For example, name the mesh re-embed consumer, the SLM enrollment skip handling, or the code-smell analytics changes. Keep the merge-train PR list in the description instead of the title.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Notice: 29 open PRs — past the runaway threshold (25)
This is not a request to defer this PR. There is no cap on open PRs (#19397) -- nothing blocks opening or pushing a PR.
This notice only means the count is high enough to be worth a glance for a runaway — something opening PRs in a loop, or a merge pipeline that has stalled so nothing is draining.
If the queue is draining normally, ignore this. Otherwise:
Check whether CI is dispatching at all — see the ci-dispatch-watchdog status on these PRs
Approved PRs land through the merge train the coordinator sequences (merge commits, never squash) -- check the open chore(merge-train) PR is moving, not each PR on its own
Look for a loop opening near-identical PRs
Warn-only runaway detector — .github/workflows/pr-queue-gate.yml. It never blocks a merge.
Superseded by #21221: rebuilt on current main without #21094 (ejected: models.enrollment_skip not registered in the SLM test real-load list), with a mechanical api.ts regeneration for #21122.
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Audited zero-file close (owner-approved procedure, 2026-11-21).
The train was synced to main with [skip ci] at 7bd3c2b451. Each conflict was resolved by what the two sides actually do, not by which is newer: 1 conflict: constraints/shared.txt filelock, main's later pin taken (8f6217a, #21471). One silent reversal (the torch bump from #20840) was undone in the merge.
The PR now changes 0 files against main, so all of its content is on main. Members: #21122, #20576, #21074, #21094, #21193, #20987 — frozen heads are ancestors of main. #20840 was not carried: its filelock pin is superseded by main's >=4.2.10 (8f6217a, #21471), and its torch 2.15.0 bump is tracked in #20690 (head d183f60), so main's 2.14.1 pin is kept..
The full conflict and verdict tables are kept in the branch-audit state log. Closing and deleting the branch.
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
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.
Thinking Path
Train T99 lands seven approved PRs, M4 first; #21120, #21087 and #21046 were ejected for guard failures (audit vocabulary, an unimported env-registry module, a direct ast.parse with a hand-bound repo root), and #20989 for an undeclared glob and a hand-rolled comment check. This merge train is built on current
main.What Changed
Why this shape
M4-first, then oldest-first under the 100-file cap; red members ejected under the eject-red-member rule.
Verification
Model Used
Claude Opus 5.5
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Bug Fixes