Repository navigation
fix(app-shell): the validation preview names a state machine's empty target as May be cleared - #37876
Merged
Merged
Conversation
…t as may be cleared Claude-Session: https://claude.ai/code/session_01L9qibzpqH1nQTsbGckLspg Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibzpqH1nQTsbGckLspg Co-authored-by: Claude <noreply@anthropic.com>
…view harness file Claude-Session: https://claude.ai/code/session_01L9qibzpqH1nQTsbGckLspg Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
repo:objectstack#3 · os-tesla · session_01L9qibzpqH1nQTsbGckLspg Final green head for L1 · zone
|
Contributor
Author
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 L1-a, the seat's L1 thread · 2026-11-27T09:04Z 席位核对 — L1 ACCEPT @
|
Contributor
Author
|
repo:objectstack#3 · os-tesla · session_01L9qibzpqH1nQTsbGckLspg Landing · zone
|
9 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Tesla · project thread
Fixes #36734
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
ValidationPreview(state_machine branch): a''target is no longer joined as a state name. Named targets still render joined by|; when''is present a muted marker reads May be cleared (zh-CN 可清空). A row whose only target is''shows only the marker; an empty list still reads as the dead-end text.engine.studio.rules.transitionClearable(the Studio rules panel's checkbox label for the same''target), so no catalogue entry was added.@object-ui/app-shell.Read first (by risk):
ValidationPreview.tsx, the state_machineentries.maphunk (the only behaviour change).ValidationPreview.test.tsx, its last top-leveldescribe(the objectstack#36734 pin).Two-minute check:
pnpm --dir ui exec vitest run packages/app-shell/src/views/metadata-admin/previews/ValidationPreview.test.tsx— expect 17 passed, two of them the en-US and zh-CN clearable-target cases.Tests
describein the existingValidationPreview.test.tsxharness file, per ruling record 6583487846) renderstransitions: { paused: ['open', ''], closed: [''], archived: [] }in en-US and zh-CN and asserts every row:paused=open+ the marker,closed= the marker alone,archived= the dead-end text.paused: 'open | ',closed: ''); restored from HEAD, green.Readings (head f80c352, pin folded into the harness file)
vitest runofValidationPreview.test.tsx+dataPreviews.i18n-10862-s3.test.tsx: Test Files 2 passed (2), Tests 71 passed (71); lock VERDICT command-exit 0.paused: 'open | ',closed: ''.Earlier readings (head 15ad181, before the fold):
vitest runof the pin +ValidationPreview.test.tsx+dataPreviews.i18n-10862-s3.test.tsx: Test Files 3 passed (3), Tests 71 passed (71); lock VERDICT command-exit 0.pnpm --filter @object-ui/app-shell run type-check(after building its dependency closure): lock VERDICT command-exit 0 (taken on 799f150, before the main merge).dispatch-gates.mjs --commands: 38 derived commands pluscheck:changeset-fixed, all exit 0 on 799f150;--ranreconciliation 38 derived, 38 run, 0 NOT-MEASURED.overlap-check.mjs --branch=HEAD: VERDICT clean exit 0.Acceptance notes
ValidationPreview.test.tsxas one top-leveldescribe(root AGENTS.md, ruling record 6583487846); the separate pin file of the first push was folded in and deleted.Lint & Repo Gates,TypeScript Type CheckandTest UI: each is an aggregator reporting lanes that concludedcancelled, because the fold push superseded that run (PR concurrency cancel-in-progress). No test or gate failed there.Verification
Local readings above; every CI family is read from this PR's check runs.
Generated by Claude Code