Skip to content

[P2] B4.run: triage surviving PRs and reuse existing reliability work #605

Closed

Description

@blove

Retained backlog complete — 2026-09-10 UTC

All retained feature PRs (#573, #543, #489, #506) and all seven retained dependency updates are merged. Each dependency PR passed its technical checks, including required validate, and independent review before integration.

PR Final scope Merge commit CI
#617 Next.js 16.3.3, version contract and Inspector patch changeset 854aa1f3c5f6dd5a3dbb2a525d2060b955093a8a Passed
#614 Sharp 0.35.4 and its native dependency closure 02b0e226de084f76d34f5916517607ebe45346bd Passed
#615 Vitest and exact UI peer 4.1.11 5a4e69529a47ef52b7e032e4f3b76086b731b2fc Passed
#616 Hono 4.13.5 and direct adapter peer ed5f02c0e0c80803f2f132eb5b2b7ae6d4051448 Passed
#519 Coordinated CodeQL 4.37.9 pins and existing audit inventories eb5ef3fcbedf8f7e958b929963cd386fa32a2311 Passed
#479 pnpm setup 6.0.10 pins, inventories and existing contract tests e03d5b7aea460ccfd31933b9b1132f6cb341e1b8 Passed
#521 Automated review action 1.0.210 and existing inventories 224066d36a99bfdc44dc3e4c690c3a6c8d0848c4 Passed

#518 and #520 are closed as superseded by the coordinated CodeQL update in #519. Branches were refreshed individually through normal merges and maintainer-authenticated pushes. The previously missing dependency-run deployment credentials were resolved through that existing authorized execution context; final Vercel-native checks passed for all four package updates. No credential was copied or permission widened.

The optional automated review remained unavailable because of the separately confirmed provider credit balance. Independent review supplied the review path; required checks and branch protection were preserved. Runtime pnpm remains 10.33.0. No publishing workflow, gate, prerequisite, timeout increase or token fallback was added.

The requested 0.8.30 release is complete: all 21 packages published through OIDC, five consumer checks and the independent audit passed, and the GitHub release is public and immutable. #619 is complete, and #622 integrated its production proof into the cutover runbook. #624 is the automatically prepared future version PR and remains unmerged.

#535 remains the single reliability tracker. The confirmed SOCKS fixture clock race was repaired in #623, merged as 592c065d77d809949741822fa7880d4eb03dd12c after independent review and green technical checks; its other Docker/Kubernetes/runtime signatures remain unresolved. External-account inventory #602 remains deferred. Existing website and GitHub redirects are retained.

Acceptance is satisfied. Earlier dated observations below are preserved as execution history; this section records the final disposition.


Current outcome — 2026-09-10 UTC

The retained feature PRs are merged, in prerequisite order, after independent review and green technical checks:

PR Result Merge commit
#573 Nullable tool parameter schemas 6039fd29ebd3b4aa264d3375ae5cf9d1bf0c0cac
#543 Bundled edge marker files 18c7b6168e0252bb6c8377f3ccf0c0e7f63b0e2e
#489 Authorized stream reattachment 80a98adca522fa2153ff273e70747112389438ce
#506 b4 threads tail 111d45cd74140bbf13c4072b499863824f8ebb95

#506's final main-based head 16d8a2692cbee267be251589af25414b911e7644 passed every technical check, including required validate: CI run. The optional review job still has its confirmed provider credit-balance failure; independent spec and quality reviews supplied the review path without weakening branch protection.

This issue stays open for the separately owned dependency maintenance recorded below: #617's version-contract assertion; dependency-run deployment credentials affecting #614–#617; and coordinated action-pin/audit-fixture updates for #479/#518/#519/#520/#521. None was bulk-merged or used to change the working publishing path. Brian Love/repository maintainer owns those next steps. External-account inventory #602 remains deferred.

A distinct local full-validation restart-cancellation timeout was recorded in #535 with the passing unchanged-head isolated rerun and the unresolved teardown uncertainty. The original two Kubernetes/Docker flakes were not reproduced or declared fixed. GitHub runtime verification passed on both #489 and #506. No CI workflow, publishing step, timeout, assertion, or branch-protection setting was changed in this execution.


Follow-up to the B4.run rename merged in #595 and version update #596.

Release coordination: #597 is owned by the active release maintainer. Do not interrupt its CI, mutate the active candidate, or remove credentials it needs. Execute this issue only when its dependencies below are satisfied.

Owner: Repository maintainer + existing PR/issue owners. Dependency: Active release closed before branch/workflow mutations.

Problem: Renaming in place retained the backlog. It does not require issue migration, but pre-rename branches can contain old contracts and dependencies.

Surfaces: Existing PRs #573, #543, #506 and its #489 dependency; dependency PRs #521, #520, #519, #518, #479; existing flake issue #535.

Acceptance: Every retained PR has a current base/dependency and owner; #535 remains the single reliability tracker; required checks are not weakened to clear the queue.

Confirmed redirect policy — 2026-09-10 UTC: The owner explicitly chose to leave the existing redirects in place. Preserve the old-domain redirects to b4.run and GitHub repository rename redirects. This supersedes the initial no-redirect request. Runtime/package compatibility aliases remain prohibited. Record this resolved decision in the current cutover documentation under #600.

Follow-up execution — 2026-09-09

Confirmed the existing automated-review billing problem on PR #618: run 34436271398 failed the Anthropic preflight with HTTP 400 because its credit balance is too low. This is an account-billing blocker, not a rename validation failure. Independent spec and quality reviews of the follow-up change passed. No workflow was changed or retried to bypass the failure.

Retained PR triage — 2026-09-09

Fresh read-only state below. These are proposed dispositions, not completed rebases or merge approvals; mergeability does not imply passing tests. No branch was rewritten, workflow changed, or running check interrupted. Existing authors retain ownership; no review requests or outreach were sent.

PR Existing owner / proposed reviewer Current base GitHub mergeability Disposition / next step
#573 blove main mergeable Retain; review current schema tests, then integrate independently if checks pass.
#543 blove main conflicting Retain; rebase in isolation and resolve B4 package/config/edge-manifest conflicts before checks.
#489 blove main conflicting Retain as the prerequisite; rebase on current main and verify stream reattachment and authorization contracts first.
#506 blove blove/agent-protocol-thread-auth-94c180 mergeable Retain as a dependent PR; update only after #489, preserving its stacked base until that prerequisite lands.
#617 Repository maintainer (dependency bot PR) main mergeable Review the Next.js dependency update and its web validation independently.
#616 Repository maintainer (dependency bot PR) main mergeable Review the development dependency update independently.
#615 Repository maintainer (dependency bot PR) main mergeable Review the test-runner update independently; include source and harness regressions.
#614 Repository maintainer (dependency bot PR) main mergeable Review the image dependency update and site build independently.
#521 Repository maintainer (dependency bot PR) main mergeable Keep for separate review; updating the action does not resolve the provider credit balance.
#520 Repository maintainer (dependency bot PR) main mergeable Review alongside the matching CodeQL init and SARIF action revisions.
#519 Repository maintainer (dependency bot PR) main mergeable Review alongside the matching CodeQL analyze and SARIF action revisions.
#518 Repository maintainer (dependency bot PR) main mergeable Review alongside the matching CodeQL init and analyze action revisions.
#479 Repository maintainer (dependency bot PR) main mergeable Review the package-manager setup action independently.

Suggested order: finish #618 and verify production brand downloads; review #573; repair #543; repair and validate #489 before #506. Dependency PRs can be reviewed separately, keeping coupled CodeQL revisions consistent. Do not bulk merge or force-push these branches.

#535 remains the reliability tracker for the prior Docker ownership/replacement and chart RBAC parity timeout failures. No fresh reproduction was run in this triage, so neither failure is marked fixed. The current #618 Kubernetes and Docker lanes passing is useful evidence, not proof that a flake is eliminated.

The automated-review failure remains a confirmed credit-balance problem. Human review can proceed using the PR diff and passing checks, but branch protection must remain intact; a manual review does not itself satisfy or bypass a failed required check.

Authorized execution — 2026-09-10 UTC

The owner authorized working this backlog and merging reviewed changes when checks pass. External-account inventory (#602) is deferred. Brian Love retains ownership of the retained feature branches. Start with #573, then #543, followed by #489 before its dependent #506. Refresh branches individually without bulk history rewrites. Preserve required checks and the working publishing path; add no publishing gates or steps. Reuse each existing PR rather than opening duplicates. Record any new reliability evidence in #535.

Nullable schema refresh — 2026-09-10 UTC

#573 is retained and refreshed onto main 777138cc, using a normal merge without rewriting branch history. Head 26ed3705 contains only the original six-file nullable fix, with its changeset updated to @b4run/core and @b4run/langchain. Workspace build passed (25 tasks), focused schema/converter tests passed (56), and independent review found no blocking regressions within the null-preservation scope. Current CI is running; no merge has occurred yet.

Independent review also identified an existing limitation to retain as a follow-up: numeric and boolean literal tool parameter constraints are widened by the compiler and runtime converter (1 | null becomes number | null; true | null becomes boolean | null). The non-nullable forms already have this limitation. Exact literal preservation should get focused generation/runtime regression coverage in a separate change; #573 does not claim to fix it. No matching existing literal-schema issue was found in a repository issue search.

The non-required review job on run 34444334492 again fails with HTTP 400, explicitly reporting an insufficient provider credit balance. Independent review is the temporary review path; required validation and branch protection remain unchanged. No retry or workflow change was used to bypass it.

Dependency validation disposition — 2026-09-10 UTC

Fresh current-head check reads show these dependency PRs are not ready to merge. Retain them for independent diagnosis; do not bulk merge, loosen gates, or rewrite CI to clear the queue.

PR Observed failed technical checks Current disposition
#617 source-validate, validate, inspector-e2e, vercel-native Retain; diagnose source and end-to-end failures before integration.
#616, #615, #614 vercel-native (required validate passes) Retain; establish the production-boundary failure cause before integration.
#521, #518 validate, vercel-native Retain for separate workflow/dependency review after feature backlog.
#520, #519 validate, vercel-native, CodeQL Analyze Retain together for coherent CodeQL revision review; diagnosis required.
#479 source-validate, release-controller, validate, vercel-native Retain; diagnose package-manager setup compatibility before integration.

These are observed check results, not established root causes. Brian Love/repository maintainer owns their follow-up. The feature PR sequence remains #573 → #543 → #489 → #506; no dependency update is being used to address the unrelated review-account credit failure.

Dependency failure diagnosis — 2026-09-10 UTC

Read-only failed-log review narrows the package-update blockers:

#521/#518/#519/#520 remain separately owned workflow-dependency maintenance; their failure causes have not been fully diagnosed. No workflow was changed, no check retried or cancelled, and no branch protection weakened.

Edge marker refresh — 2026-09-10 UTC

#543 refreshed onto main with normal merge history. Head f1e8f39e preserves the intended marker feature and B4 contracts. Independent spec review found and verified fixes for exact route-path skill lookup and marker preflight before all target output/cleaning. All six reproductions failed before the fixes and pass after. Full build/typecheck/lint, 252 focused tests across 13 suites, docs/SEO/changesets/build-cache checks pass; independent quality review found no remaining blockers. Fresh CI is running; merge awaits green technical checks.

First retained PR integrated — 2026-09-10 UTC

#573 merged as 6039fd29ebd3b4aa264d3375ae5cf9d1bf0c0cac after validate and all technical checks passed on reviewed head 26ed3705ecefa2cbcdb4a5c67ae0eb7940bc667f. The separate non-required automated review job remains blocked only by the previously confirmed provider credit balance; independent review completed before integration. No protection was bypassed. CI run.

#543 remains under fresh CI. #489 and its #506 dependent are being refreshed and reviewed in isolated branches; they remain unmerged. #535 remains the single reliability tracker; no new reproduction of its two existing failures has been observed in this pass.

Edge marker PR integrated — 2026-09-10 UTC

#543 merged as 18c7b6168e0252bb6c8377f3ccf0c0e7f63b0e2e after all technical checks and required validate passed on reviewed head f1e8f39e8543a50ade6478fc9e188323d5404dd6. The separate automated-review failure was again verified as the same provider credit-balance error; spec and quality review were completed independently. No required check was bypassed.

#489 and #506 remain in progress and unmerged. Review identified checkpoint-route provenance and CLI error/output correctness gaps in these previously open feature branches; regressions and fixes are being completed before either PR proceeds. Their dependency order is retained. Publishing and CI workflow definitions remain unchanged.

Remaining workflow dependency diagnosis — 2026-09-10 UTC

Read-only review of #521/#518/#519/#520 found the shared failure at scripts/release/test/workflow-contracts.test.mjs:1381: the changed action SHA is absent from the existing audited workflow-entrypoint fixture. Each run passed 436 source test files with 17 skipped; these logs do not show a source regression. Retain these for separate maintainer-owned workflow maintenance, with the reviewed pins and existing audit fixture updated together.

The dependency-run Vercel credential availability remains a separate blocker. No workflow, audit fixture, credentials, or active run was changed during this diagnosis.

Reattachment submitted — 2026-09-10 UTC

#489 refreshed to reviewed head 34e166b6c3503a4f30bd3d8670b6932665ea91f6 on main 18c7b616. Independent security/spec and quality review passed after fixing exact checkpoint lineage authorization, Node socket backpressure/disconnect cleanup, real subagent event coalescing, and AG-UI terminal outcomes. The integrated focused runtime selection passed 85 tests. Existing CI is running; merge waits for technical checks. CI.

#506 has inherited that head locally and passed build, typecheck, lint, docs, and all 55 CLI tests. Its parser, terminal cleanup, credential diagnostics, and snapshot/live text continuity were repaired and independently reviewed. It remains stacked and unmerged until #489 lands. No publishing or workflow change is included in either PR.

Reattachment integrated; terminal consumer submitted — 2026-09-10 UTC

#489 merged as 80a98adca522fa2153ff273e70747112389438ce after all technical checks, including required validate, passed on reviewed head 34e166b6c3503a4f30bd3d8670b6932665ea91f6. The separate review failure was again confirmed as provider credit balance; independent security and quality reviews passed. Fresh local source verification passed 5,782 tests (218 skipped), and release-controller verification passed 3,662 tests.

#506 is now based on main, preserving the prerequisite order. Submitted head 16d8a2692cbee267be251589af25414b911e7644 contains only the terminal consumer, documentation, tests, and patch changeset relative to main. The final main merge left the previously reviewed/tested file tree identical. Build, typecheck, lint, docs, and all 55 focused tests passed. Existing CI is running; it remains unmerged pending green technical checks.

Final #506 spec review passed on 16d8a269: flags, exit statuses, authorization errors, snapshot/live text, resume handling, and terminal cleanup match the retained scope. Two non-blocking follow-ups remain: broaden the CLI documentation's 409 explanation to include legacy/unknown checkpoint provenance (the linked wire contract already covers it), and preserve the original error if output fails again while cleanup ends a partial line. Neither changes the current authorization decision or successful streaming behavior. These are separate cleanup work, not publishing prerequisites.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions