Repository navigation
test(pm): dispatch-gates rows the remaining whole-set key pins - #38756
Conversation
Claude-Session: https://claude.ai/code/session_01ADHkmRJUY9Ncce14hVHd25 Co-authored-by: Claude <noreply@anthropic.com>
…ured Each new declaration row is held by the nested-row loop (a key added derives exactly the pins that hold it, a describe() derives none). The union world grows one edit per declaring file. The census docblock now records the ui re-measure by run, the enums no search covered, the bounded call search, the os-regen driver-table trigger and the two repair owners. Claude-Session: https://claude.ai/code/session_01ADHkmRJUY9Ncce14hVHd25 Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#3 · os-steve · session_01ADHkmRJUY9Ncce14hVHd25 Final green head for review: |
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z Contract reviewServed-tier: PR #38756 ( ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
S1 (should-fix) —
S2 (should-fix) — two new pins hold one of the sets their test holds whole, and the census does not say the others were left unread. Read, not run:
N1 (nit) — N2 (nit) — "Four ComponentPropsMap members stay out of the registry-inputs pin" miscounts: the inline N3 (nit) — the census docblock no longer names a carrier for the tombstone gap (it read "carried by #38362" before); the follow-up card is named only outside the tree. No must-fix. S1 and S2 are open on this head and each earns a delta review of its fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB 席位核对ACCEPT @ fbeae33 (card #38362,
Checks at this head (read before writing): 26 success, 27 skipped, 0 failure, 0 pending. |
…wo pins hold their second set The registry-inputs pin now holds ComponentPropsMap's own block list and the element:form, record:approvals and emptyProps literals the test ledgers to no authorable key, each measured red on a one-schema probe. The zh approval pin holds DecisionConfigSchema too, and the block-type pin one record:details section entry through a within step. The rows' kind and why say what the pins hold, and the census names the three blocks that stay out (each measured green) and the follow-up carrier. Claude-Session: https://claude.ai/code/session_01ADHkmRJUY9Ncce14hVHd25 Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#3 · os-steve · session_01ADHkmRJUY9Ncce14hVHd25 Final green head for delta review: |
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z Contract reviewServed-tier: Delta review of record 7277396273 (head ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentS1: closed. The map's block list, S2: closed. N2: fixed in the census (three blocks stay out, all in Nothing new graded on this delta. No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-steve · session_01ADHkmT9HTWLMN33WUVxVWB 席位核对ACCEPT @ 1758942 (card #38362,
Checks at this head (read before writing): 26 success, 24 skipped, 0 failure. |
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z 维护者速读
Seat opinion: land as is. 席位核对ACCEPT at head
ACCEPT → comment 7278917625 · Contract review → comment 7278862734 |
Requested by Steve · project thread
Part of #38362
Clause-②: no
Metadata-protocol: none
Rule-change: none
维护者速读
What changes
The remaining whole-set pins of the card now derive from the diff, through the same key-set reader the earlier slices added (
schema/schemas/within), not by a path match. This covers 26 new pins plus the registry-inputs pin, which grows from 3 to 39 props schemas. All three files are inside the dispatch fence.rowLiteralnow searches for a row's call only inside the declaration's own statement. A re-spaced arrow reads null; before, it landed on the next declaration's arrow.callArgumentStartand the comment that cited it.scripts/regen-artifacts.mjstrigger.toEqualliteral.Measured population
Method. One key (or value) was added to each of 110 spec declarations, and the seven packages the Test UI job builds were rebuilt. The 270 ui test files that enumerate one of these declarations were run in three probe batches. A clean rerun of the 46 red files was all green, so every red came from a probe.
Result. Of the 46 red files:
page-nav-miscandreport-chart-querystayed green under probes of six schemas they read, on a dist built with declarations. They derive by construction, so they are dropped.The before and after columns below come from one batch
--commands: a key or value was added to one member of each pin across 15 spec files, and the files were restored byte-exact afterwards.registry-inputs-key-setregistry-inputs-spec-parity.test.tsscript-body-key-setActionDefaultInspector.scriptBodyLanguage-11921.test.tsxend-message-key-setFlowNodeInspector.endMessage-9336.test.tsxend-output-variable-key-setFlowNodeInspector.endOutputVariable-9335.test.tsxapproval-config-zh-key-setflow-node-config.zhPanel-34818.test.tspackage-source-value-setpackageSource-12790.test.tsaccess-scope-value-setPermissionMatrixEditor.recordScope-26187.test.tsxcolor-variant-swatch-value-setcolor-variant-field.test.tsxcolor-variant-accent-value-setDatasetWidget.colorVariant.test.tsxfilter-operator-key-setFilterConditionField.operators.test.tspage-block-type-value-setblock-config.test.tspage-kind-value-setpage-kind-node-type-channel-9642.test.tsxaggregation-function-value-setObjectMetricWidget.countNotCurrency-10356.test.tsxlist-gantt-block-key-setListView.readersRetired-6152.test.tsxview-gantt-timeline-key-setObjectView.harness.test.tsxobject-tree-props-key-setObjectTree.schemaTyped-8655.test.tschart-axis-config-key-setchart-axis-config-7690.test.tsobject-chart-axis-config-key-setobject-chart-axis-config-10518.test.tschart-aggregate-legacy-value-setobject-chart-legacy-axis-keys-retired-10608.test.tslist-view-protocol-key-setobject-view-unmirrored-keys-7779.test.tsrecord-approvals-row-key-setrecord-panels-arms-12363.test.tsselect-option-key-setselect-option-tier1-convergence-7014.test.tsuser-filter-field-key-setspec-symbol-parity.test.tstree-config-key-settree-view-config-readers-8253.test.tsmarketplace-taxonomy-value-setmarketplace-taxonomy-labels-31011.test.tsexplain-door-parity-value-setexplain-write-door-parity.dogfood.test.tsexplain-master-write-value-setcbp-explain-master-write.dogfood.test.tsTests
node scripts/pm/dispatch-gates.mjs --self-test --fastpassed all 2890 cases. The new rows are covered by these cases:describe()derives none.Acceptance notes
Left on the card:
retiredKey(…)call), so deriving it needs a member-value reader. That is a new mechanism and belongs in a new module, outside this fence.zod-mirror-parity. It pairs eight spec-only keys dynamically over ComponentPropsMap, and no row here attributes them to one schema.object-gantt-properties-bag-10859-b6. Its failures show the same probe collision asflat-props-refusal-10872: one name spelled into both the page component node and a props schema. It needs a single-schema re-probe.flat-props-refusal-10872itself is a refusal pin, not a whole set, so it is not rowed.z.literal(…)moves no row. This miss is documented in the docblock.MetadataLockSchema.options. This is documented, not rowed.Verification
Files to read first, by risk:
scripts/pm/dispatch-gates.mjs: therowLiteralend bound. It changes everycallrow.scripts/pm/dispatch-gates.data.mjs: the 26 CHANGE_KIND rows and the census docblock.scripts/pm/dispatch-gates.self-test.mjs: theksByPathunion world andksSpreadShared.Two-minute check: add
'probe_value',toPageTypeSchema's enum inpackages/spec/src/ui/page.zod.ts, then runnode scripts/pm/dispatch-gates.mjs --commands. Expectpnpm --dir ui exec vitest run …page-kind-node-type-channel-9642.test.tsxamong the commands.Gates at fbeae33:
dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 63 families, and all 63 ran in the foreground with exit 0.--ranreports 63 derived, 63 run, 0 NOT-MEASURED and 0 UNRUN.check:i18n-coveragefirst exited 3 (PREREQUISITE NOT MET). It passed after its prerequisite closure was built under the lock. The overlap check was clean.L2 fix round
Head 1758942. This round addresses S1 and S2, plus nits N2 and N3, from the L2 record (comment 7277396273). N1 needs no change.
S1.
registry-inputs-key-setnow holds 43 schemas:RecordApprovalsProps;ElementFormPropsSchema, newly rowed;emptyPropsliteral, newly rowed (strictObject/1, empty by design);ComponentPropsMap's own block list, newly rowed (callnull: the literal after the=, with quoted keys read by their content).The row's
kindandwhyare rewritten to cover what the pin now holds: the partition of the block list, the inputs parity, and the retired-upstream and empty-shape ledger arms.The earlier "green" for
element:formwas a batch artifact. The ledger case stops at its first failing block, andelement:filter's probe in the same batch failed first.S2.
approval-config-zh-key-setnow also holdsDecisionConfigSchema, newly rowed.page-block-type-value-setnow also holdsRecordDetailsProps.sections. This is a newwithinrow: one step fromRecordDetailsPropsinto the inlinestrictObjectofsections.kindandwhyare rewritten to match.N2. The census sentence is rewritten. Three blocks stay out, and each was green on its own probe: the inline
ai:suggestion,element:imageandelement:metadata_viewer. All three are in the test'sEXPECTED_WITHOUT_INPUTS. The fourretiredComponentPropsblocks are az.neverwith no key set. The docblock also now says that a red file was attributed to its probe's schema, so other sets the file holds were not read, and that a batch can hide a red.N3. The census names #38757 as the carrier of the tombstone member-value reader.
One-schema probes
The ui test column adds one key, or one block to the map, to the spec source and runs that one test file. The spec JS was rebuilt for each run, and the source was restored byte-exact afterwards. Each file was also green on a clean run (registry parity: 261 tests; zh panel: 7; block-config: 47).
The base and head columns record whether
--commandsnames the test for that same edit. Base ran on the fbeae33 data and self-test, swapped in and then restored (sha256 verified). Head ran at 1758942.--commandsbase--commandsheadapp:launcherfirst)Controls on head. A describe-only edit in
component.zod.tsnames no ui test, and neither does one inschemaless-node-config.zod.ts.Self-test.
--self-test --fastpasses all 2904 cases. Every new row is held by the nested-row loop: a key added derives exactly the pins that hold it, and adescribe()derives none. There are three new LIVE cases (the block list, the section entry and the element:form row) and one rendering control: the section entry and its host render as one declaration.Gates at 1758942. The derived list is the same 63 families. All 63 ran in the foreground and exited 0.
--ranreports 63 derived, 63 run, 0 NOT-MEASURED. The overlap check was clean before the push.