Skip to content

Repair master after #1625: remove console-ui hooks, CI lane and docs citations - #1629

Merged
Gajesh2007 merged 2 commits into
masterfrom
fix/after-console-ui-removal
Oct 28, 2026
Merged

Gajesh2007 merged 2 commits into
masterfrom
fix/after-console-ui-removal

Conversation

@jonathan308

@jonathan308 jonathan308 commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

#1625 deleted console-ui/ (the console now lives in darkbloom-platform's console-ui/), but left hooks, CI and docs pointing at the deleted folder. On master now:

  • .githooks/pre-push only runs cd console-ui && npx eslint / npm run build when the pushed range touches console-ui/. Any branch carrying the deletion fails with cd: console-ui: No such file or directory / "Next.js build failed".
  • make docs-check fails: CI's Docs Lint reports 93 problems, all "cites missing path console-ui/...".
  • The Console UI Lint & Build CI lane fails (console-ui/package-lock.json not found). Since .githooks/** routes to that lane, removing the hooks requires removing the lane too.
 .githooks/
-├── pre-commit          # only ran console eslint
-└── pre-push            # only ran console eslint + next build
 .github/
-├── dependabot.yml      # only entry: npm in /console-ui
 └── workflows/
     ├── ci.yml          # - lint-console job + route lane
     └── component-changes.yml   # - console output
 Makefile                # - ui-install/ui-build/ui-lint/ui-test/ui; test/build/clean no longer touch console-ui
 scripts/
 ├── ci-component-paths.py      # COMPONENTS = ("provider",)
 ├── docs-impact-rules.json     # - "retained console" rule, console telemetry pattern
 └── test-{ci-component-paths,darkbloom-route,docs-impact-check}.py   # updated to match
 docs/architecture/components/console-ui.md   # 338 lines → short pointer to darkbloom-platform
 docs/{developer,reference}/*.md, README/AGENTS/CONTRIBUTING   # drop retained-snapshot rows, ui targets, hook mentions
+changelog.d/console-ui-removal-cleanup.md

The hooks are removed rather than kept as no-ops: they had no other checks. core.hooksPath=.githooks still works and simply finds no hooks. The two coordinator/tests/protocol/testdata/*_wire.json fixtures stay. They no longer route to a CI lane, and their docs-impact rule is unchanged. The one remaining telemetry-schema row now links to the pinned platform file. Docs keep no local console-ui/ path citations.

Evidence

  • Before (master aa2887f1d): CI run 40558106719 had Docs Lint failing with docs-check: 93 problem(s) and Console UI Lint & Build failing. Locally it reports 96 problems: the 93 plus 3 libs/mlx-swift-lm/... links that only fail without the submodule. CI initializes it, so they are not real.
    After: make docs-check gives 200 file(s) OK with libs/mlx-swift-lm initialized as CI does. Without the submodule, only the 3 submodule links remain.
  • make changelog-check: 15 valid fragment(s). make docs-impact-check BASE=origin/master: coverage OK.
  • scripts/test-ci-component-paths.py (17), test-darkbloom-route.py (21), test-docs-impact-check.py (7), test-provider-ci-workflow.py, test-docs-stamp.py, test-docs-check-historical-links.py, test-changelog.py: all OK.
  • This branch was pushed with core.hooksPath=.githooks (hooks on, no --no-verify).

Merge Danger

Door: two-way

Everything removed here ran against a directory that no longer exists. Reverting restores it.

Blast Radius: CI-routing

Touching Makefile / ci-component-paths.py selects every lane for this PR, so the provider macOS lanes run. If Console UI Lint & Build is configured as a required check anywhere (infra/threat-review/merge-rules.json still lists it, along with other already-retired lanes), that config needs updating. Dependabot no longer has an npm entry; the console's npm updates belong in darkbloom-platform.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

#1625 deleted console-ui/ but left the pre-commit/pre-push hooks, the
Console UI Lint & Build CI lane, ui-* Make targets, the console Dependabot
entry and docs citations pointing at it. The pre-push hook failed any push
including the deletion, and docs-check failed on master (93 problems in CI).
@vercel

vercel Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference Error Error Oct 28, 2026 12:20am UTC
d-inference-console-ui-dev Error Error Oct 28, 2026 12:20am UTC
d-inference-landing Ready Ready Preview Oct 28, 2026 12:20am UTC
darkbloom-status Ready Ready Preview Oct 28, 2026 12:20am UTC
eigen-homepages-darkbloom Ready Ready Preview Oct 28, 2026 12:20am UTC

Request Review

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Threat model review — advisory

Reviewed head e05623e202d7 against base 8effff7f7067.

Reviewers: anthropic/claude-sonnet-5.5: first pass completed; anthropic/claude-opus-5.5: not needed by escalation policy; openai/gpt-6.1-sol: not needed by escalation policy

No actionable findings in the reviewed text. This is not a security approval.

Models: budgeted Sonnet / selective Opus / selective Sol 6.1. Findings require human validation; this review never requests changes or blocks merging.

Scan completed.

Coverage: 0/0 source units; cross-file integration complete. 0 selected depth batch(es) pending. All threat definitions indexed; relevant full definitions selected. Unchanged callers are not scanned.

Cost this run: $0.0000 reported, $0.0000 reserved with unknown cost; 0 paid request(s), 0 reused batch(es), 0 provider cache-hit tokens.

Saved findings and earlier report · Historical findings are not confirmed resolved.

Bedrock: 0 request(s), 0 uncached + 0 cache-read + 0 cache-write input / 0 output tokens; 0 request(s) with unknown usage. OpenRouter backup used 0 time(s). Dollar amounts above cover OpenRouter only; AWS billing is reconciled separately.
Workload allowance: 1 native request(s), including one shared response repair; 500 emergency ceiling. Selected depth and integration rounds are admitted as their scope becomes known.

@Gajesh2007 Gajesh2007 mentioned this pull request Oct 27, 2026
7 of 9 tasks
davidtai added a commit that referenced this pull request Oct 27, 2026
…on dev

Master removed the console-ui leftovers in #1631. This branch had a
cherry-pick of the open PR #1629 for the same cleanup; that cherry-pick is
reverted in the parent commit, so the next master merge into dev does not
conflict on the same files. One conflict: the "Last updated" stamp of
docs/reference/ssd-kv-cache.md, resolved to master's 2026-10-27. The
cluster beta's gitlink pins (libs/mlx ea318ee0, libs/mlx-swift 31ffa0d5,
libs/mlx-swift-lm b6650465) stay; master did not change them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gajesh2007
Gajesh2007 previously approved these changes Oct 27, 2026
#1631 ("CI: finish removing console-ui") landed the same cleanup this
branch made, and #1632 released its changelog entry under v0.10.4, so
every conflict takes master's side:

- 17 files (AGENTS.md, CONTRIBUTING.md, README.md, docs/*, the CI
  routing and docs-impact scripts and their tests): master's version.
  This branch's leftover docs-impact rule and tests named protocol
  fixtures that #1631 deleted, and its console pointer section linked
  to a page #1631 deleted.
- docs/architecture/components/console-ui.md: deleted, as on master.
- changelog.d/console-ui-removal-cleanup.md: removed. CHANGELOG.md
  v0.10.4 already has "Console tooling removed with the console
  source", and this fragment described the pointer page that no longer
  exists.

After this merge the branch has no changes against master.
make changelog-check and scripts/test-ci-component-paths.py,
test-docs-impact-check.py and test-darkbloom-route.py pass.
@Gajesh2007
Gajesh2007 merged commit 44e48af into master Oct 28, 2026
22 of 25 checks passed
@Gajesh2007
Gajesh2007 deleted the fix/after-console-ui-removal branch October 28, 2026 18:34
davidtai added a commit that referenced this pull request Oct 28, 2026
The merge adds #1566, #1591, #1602, #1605, #1606, #1607, #1612, #1621,
#1622, #1623, #1625, #1629, #1630, #1631, #1632 (provider 0.10.4),
#1633, #1644, #1652 and #1653 to this branch.

Conflicts and resolutions:
- CoordinatorClient+Connection.swift: #1606 moves the transport setup
  out of connectAndRun into the static function connectionParameters(for:),
  and puts the connectAndRun header below it. This branch adds the
  session parameter to the same header. The merge keeps the layout of
  master. The moved header has the signature of this branch:
  connectAndRun(_ session: CoordinatorSessionRecorder). Git merged the
  other changes without a conflict: the bounded handshake of master
  (CoordinatorConnectionHandshake.start) and the session recorder of
  this branch (markOpened after register, the session parameter of
  sessionLoop and receiveLoop, and the close-code read).
- docs/provider/cli-reference.md: the runtime constants table. The merge
  keeps the three reconnect rows and the ping/pong row of this branch.
  It adds the handshake deadline row of master after the ping/pong row,
  where master has it.
- docs/provider/troubleshooting.md: only the "Last updated" stamp had a
  conflict (2026-10-26 on this branch, 2026-10-27 on master). The merge
  keeps one stamp, 2026-10-27. Git merged the rows: the backoff citation
  of this branch and the new rows of master.

Each decision has one owner after the merge:
- CoordinatorReconnectPolicy chooses the wait before the next connection
  attempt, after each end of a session or of an attempt.
- CoordinatorConnectionHandshake (#1606) cancels a handshake that does
  not complete in 30 s. runLoop catches the timeout error. That attempt
  did not send register, so the policy gives the next backoff range, as
  on master.
- UnauthorizedConnectionRecovery (#1607, #1633) decides when to start a
  re-registration of a connection that the coordinator refuses. Its
  retry backoff counts re-registrations, not connection attempts, and an
  authorized verdict sets that count to zero. The re-registration closes
  the session. Then the policy chooses the wait, as for each other end.

Checks: against master, the merge has only the changes of this branch,
in its 15 files. The troubleshooting stamp is the one exception: it has
the date of master. Against this branch, the merge has only the changes
of master, in 651 files. The one exception is the connectAndRun header,
which has the session parameter. The gitlinks do not change: libs/mlx
31f550af, libs/mlx-swift 4926d3d9, libs/mlx-swift-lm aee6ebb6.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

This branch had an error being deployed

2 failed and 3 active deployments
Preview – d-inference-landing — e05623e2 Deployed Oct 28, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — e05623e2 Deployed Oct 28, 2026 by vercel[bot]
Preview – d-inference — e05623e2 Deployed Oct 28, 2026 by vercel[bot]
Preview – darkbloom-status — e05623e2 Deployed Oct 28, 2026 by vercel[bot]
Preview – d-inference-console-ui-dev — e05623e2 Deployed Oct 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants