Skip to content

DatasourcePreview renders three key groups DatasourceSchema (strict) now rejects — retryPolicy, healthCheck, capabilities #4131

Description

@os-help

Found while measuring objectui's metadata-admin preview read points for the framework liveness sweep objectstack-ai/objectstack#7427. Not fixed there — a ledger row cannot fix a renderer.

What was measured

At objectui origin/main @ e9ab52f9, packages/app-shell/src/views/metadata-admin/previews/DatasourcePreview.tsx reads and renders:

Key Read Render
pool :105 :211 SideBlock
ssl :106 :212-216 SideBlock
retryPolicy :107 :217 SideBlock
healthCheck :108 :218 SideBlock
capabilities :116 :222-234 chip strip

At framework origin/main @ dadd1ad0, DatasourceSchema no longer declares retryPolicy, healthCheck, or capabilities — all three were removed in objectstack-ai/objectstack#4583 (the whole 11-flag capabilities block, the 4-key retryPolicy block, the 3-key healthCheck block), and the schema is .strict(). The framework ledger records the removals: packages/spec/liveness/datasource.json file-level _note, "BATCHES B/C/D CLOSED 2026-08-02 (#4583)".

Why this matters

This is the same shape objectui#3275 already fixed on this very file. Its header comment says so:

> Three reads were deleted in objectui#3275 because DatasourceSchema is .strict() and rejects every one of them, so each made an unsaveable draft look correct

and, on the read-replica pill it removed:

> being the only surface that acknowledged the key at all, it was the strongest signal an author had that it worked

Three of the five renders above are now in exactly that state: an author who types retryPolicy / healthCheck / capabilities into a datasource draft sees the preview acknowledge it, while the strict schema refuses the draft. pool and ssl are still declared and are not affected.

Suggested disposition

Delete the Retry Policy and Health Check SideBlocks, the capabilities chip strip, enabledCapabilities(), and the now-dead reads at :107, :108, :116 — the #3275 route. Keep pool and ssl.

Worth noting for whoever picks it up: the removals landed 2026-08-02 and the preview still carried them 8 days later, so a pin test asserting "the preview reads no key DatasourceSchema rejects" would be worth more than the deletion alone.

Provenance


Generated by Claude Code

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions