Skip to content

Fix the section C cleanup review findings - #842

Merged
SaladDay merged 2 commits into
mainfrom
finish-the-section-c-cleanup-review-fixes
Oct 23, 2026
Merged

SaladDay merged 2 commits into
mainfrom
finish-the-section-c-cleanup-review-fixes

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Follow-up to the section C cleanup (#827–#832) from its blind review.

  • request_timeout restored. It has a producer: Codex passes a provider's error.code/error.type through NormalizeEngineFailure. Migration 000004 no longer narrows the provider error-code constraint, so a database holding request_timeout rows can apply it. 000007 restores the constraint where the earlier 000004 already ran. Verified on a scratch database: baseline 000001–000003, insert a request_timeout row, then 000004–000007 apply and a new request_timeout row is accepted.
  • Harness provisioning step. Core records step: harness when the selected Harness is unavailable. The diagnostics contract, the client validator and Web now accept and label it; before this change, the client returned invalidAdminResponse for such a Session.
  • Leftovers deleted. The 12 services/core/tests helpers that no runner imports on main are gone: nine official_environment_*, two official_hosted_*_native and session_cleanup. official_session_artifacts.py is imported by a Go integration test and stays. Also dropped: the unread session_id column from ListEnrolledRuntimeBindings, and the removed bootstrap fields from the smoke's fake Core.
  • Docs corrected. Settings group names in the Web overview, the installer's staging cleanup mechanism, the explicit {#id} rule for translations, the backup note scoped to the original node identities, and the stale unsupported_test.go row removed.

Checks: go build ./...; go vet on Core and internal; focused Go tests for proto, modelconfiguration and api; make check-sqlc; make check-openapi; client diagnostics vitest; Web tsc; website/tests/translations.test.mjs hash checks. The structure subtest needs vitepress, which isn't installed locally.


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

@SaladDay
SaladDay force-pushed the finish-the-section-c-cleanup-review-fixes branch from 6492510 to 48f3aaa Compare October 23, 2026 19:45
- request_timeout has a producer: Codex passes a provider's error.code or error.type through NormalizeEngineFailure. Restore it in the protocol, Core observations, diagnostics, client, Web and docs.
- Migration 000004 no longer narrows the provider error-code constraint, so databases holding request_timeout rows can apply it; 000006 restores the constraint where the earlier 000004 already ran.
- Core records the provisioning step harness when the selected Harness is unavailable; the diagnostics contract, the client validator and Web now accept and label it.
- Delete the Environment and hosted acceptance helpers that no runner imports on main, and the doc sentences that named them.
- Drop the unread session_id column from ListEnrolledRuntimeBindings and the removed bootstrap fields from the onboarding smoke's fake Core.
- Remove the harness-onboarding row for the deleted unsupported_test.go files.
- Restore the Settings group names in the Web overview, the staging cleanup mechanism in the installer guide and the explicit heading-anchor rule for translations.
- Scope the backup note to the original node identities and link checkpoint transfer for other nodes.
@SaladDay
SaladDay merged commit 8b3b833 into main Oct 23, 2026
25 checks passed
@SaladDay
SaladDay deleted the finish-the-section-c-cleanup-review-fixes branch October 23, 2026 19:51
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.

1 participant