Skip to content

feat(flow designer): add variables, say why Runs is empty, Debug takes the side column, and autosave reads 已保存 in the header - #34955

Merged
objectstack-fleet[bot] merged 13 commits into
mainfrom
claude/project-thread-jcwgnf
Nov 17, 2026
Merged

objectstack-fleet[bot] merged 13 commits into
mainfrom
claude/project-thread-jcwgnf

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread

repo:objectstack#3 · os-support-ai · session_01WGufzgae1jRRi8FRrTxaZL

Fixes #34818 (slice 3 of 3: items 5 to 9, plus the approval help text moved from slice 2; slices 1 and 2 landed as #34850 and #34932). Surface per the seat's amendment 6954475081.

Clause-②: no
Metadata-protocol: none

维护者速读

  • 变量页可以新增变量了。 空状态说明变量是做什么的;「添加变量」新建一个不重名的文本变量,每行可改名称、类型、默认值、输入、输出。$ 开头、空名、重名会被拦下并提示;还被步骤引用的变量不能改名或删除,提示里列出是哪些步骤(这张卡不自动改引用)。只读包仍是原来的列表。
  • 运行页签分两种说法。 从未发布的流程写「发布并启用后,这里显示每次运行的记录。」,并且不去请求运行记录;已发布但引擎不响应时只说引擎不可用。
  • 调试面板占用右栏。 Studio 里流程的「属性」本来在右侧面板,进入「调试」后模拟器直接画在右侧面板里,画布独占中间;离开调试,属性面板带着原来的选中回来。没有右侧面板的布局下,属性栏不画,模拟器列加宽到属性栏的宽度。1280 宽实测「运行 / 单步 / 重置」和状态徽标完整可见。
  • 自动保存不再弹提示。 标题栏的「正在保存」落定为「已保存」,读屏读作「流程「X」已保存」,下次编辑前一直在;保存失败照旧显示错误条,另弹一条错误提示。其他 Studio 编辑器的保存提示不变。按席位裁定,徽标在流程自己的标题行里、紧挨流程名。
  • 节点面板在 zh-CN 下没有英文了。 包括条件分支的「分支方式」、审批的「解析为」「没有解析出审批人时」和分组占位,也包括实测才发现的、由服务端下发的审批人各列说明、「排除提交人」「备用审批人」和 SLA 升级各项说明。quorum、per_group 改为「法定人数」「分组会签」。审批人说明改为「插入时自带通过和驳回两条连线」。
  • 元数据结构、引擎行为、发布检查都不变。

What changes

Item 5, the node panel in zh-CN (and the approval help text).

  • inspectors/flow-node-config.ts:
    • The approval approvers help says the node comes with an "approve" and a "reject" connection, instead of asking the author to label them (slice 2 inserts them).
    • localizeField and localizeColumn overlay a prose placeholder, and localizeColumn overlays a column help. Example literals (CEL, numbers, field names) stay as written.
  • metadata-admin/i18n.ts (FLOW_FIELD_ZH):
    • decision: mode and its two options; the branch columns' help and prose placeholders.
    • approval: resolveAs; onEmptyApprovers with all four options (including fallback); excludeSubmitter; fallbackApprovers; the escalation helps; minApprovals reads 法定人数 / 分组会签.
    • APPROVER_COLS_ZH is shared by approvers and fallbackApprovers (both are ApprovalNodeApproverSchema). It covers every column's label and help, including organization, plus a platform_admin option label.
  • The served help: live, the panel draws the fields the engine publishes, whose help is the spec's .describe(). Seven of those strings were English in zh-CN. They are now in the table, and the test reads the fields from the spec's own JSON Schema, as the engine publishes them.

Item 6, Debug takes the right column's place.

  • studio-design/StudioDesignSurface.tsx (flow pillar): while the section is debug, the Configuration aside is not drawn. The selection is kept.
    • In the surface's right slot, the chrome gets debugTarget: slot.propsTarget, and opening Debug calls showProps(), so the slot shows the half the simulator is drawn in.
    • In the classic row (no slot), nothing else is needed.
  • previews/FlowPreview.tsx: FlowPreviewChrome.debugTarget. With a target, the simulator is portaled into it and the section keeps the canvas alone (grid-cols-1). Without one, the simulator column beside the canvas widens from 240px to the aside's 300px.
  • FlowSimulatorPanel.tsx: the toolbar wraps (flex-wrap), the row the claim allows. Live readings at the slot's 419px:
    • idle: 运行 / 单步 / 重置 and the status fit on one row;
    • paused with 继续: 运行 / 单步 / 继续 / 重置 and 已暂停 fit on one row;
    • paused on an approval with approve and reject connections (slice 2's default): the status pill was clipped past the slot's edge before the wrap, and with the wrap it moves to a second row.

Item 7, Add variable.

  • New previews/FlowVariablesPanel.tsx replaces the read-only FlowVariablesList, in both the chrome variables section and the classic side panel. It edits only with onPatch (the designer's canEdit).
    • Every write is the whole variables array, in the shape FlowVariableSchema parses. objectName rides along untouched.
    • Name refusals: blank, $-led (the spec's flowBoundVariableNameSchema('variableName')), or held by another variable.
    • Default values parse by type (number, true/false, a JSON object or list). A default the type cannot hold is held with a note, and so is a type change the current default cannot follow.
    • Rename and remove are refused while a step reads the variable. flowVariableReaders reads a whole-word mention in any string of a step (template holes and bare CEL alike), connection conditions, and the flow's successMessage / errorMessage. The read is deliberately wide, so a refusal can be stricter than the engine, never looser.
    • An input that declares objectName cannot be unticked (the spec refuses objectName on a non-input).

Item 8, autosave says 已保存 in the header.

  • StudioDesignSurface.tsx (flow pillar): a landed draft save no longer calls announceDraftSaved. It sets flowSavedFor, and the header actions show auto-autosaved: a ✓ and 已保存, with an sr-only sentence naming the flow, in a role="status". The next edit clears it.
    • It is shown only when nothing was edited in flight (sent.unmoved()).
    • A failed save raises one toast.error naming the flow, under one id per flow, beside the existing refusal strip.
  • StudioPillarKit.tsx: comment only. announceDraftSaved no longer lists the flow pillar; its other callers are unchanged.
  • Seat ruling 6954475081 holds this to ruling 6545938831 ② on [Decision] wave-3 checklist: five held items need a ruling before their ledger edits (#27377) #28345 (write feedback names the item): the badge sits in the flow header's own title row, beside the title, and its accessible text names the flow. Both are pinned.

Item 9, Runs says why it is empty.

  • previews/FlowRunsPanel.tsx: a published prop. For false it says 发布并启用后… and does not fetch. For true, a failed fetch names the engine alone. For an unknown value, the old sentence stays.
  • StudioDesignSurface.tsx: readPublishedFlowNames lists the served flows per scope (the package and its pair) beside the flow list, and the chrome passes published for the open flow. A failed read leaves it unknown.
    • Deviation from the claim's wording. The claim said published comes from "what the pillar already reads". It is a new read: one listResponse('flow', { packageId }) per scope per rail load, with no per-row fan-out. The seat acked it as an extension of amendment 6954475081.

Shared. New and reworded keys in the lazy studio namespace (en and zh). No eager pack changes. Changeset: @object-ui/app-shell and @object-ui/i18n patch.

Tests

  • inspectors/flow-node-config.zhPanel-34818.test.ts (7 tests). This is the surface's inspectorStrings.i18n-34818 row, written against the field tables directly.
    • Every decision and approval label, help, option, column and prose placeholder has CJK in zh-CN, both from the offline table and from the served fields (jsonSchemaToFlowFields(z.toJSONSchema(ApprovalNodeConfigSchema / DecisionConfigSchema))).
    • No quorum / per_group.
    • The approvers help is checked in zh and en.
    • en-US control: the overlay is the identity.
  • previews/FlowVariablesPanel-34818.test.tsx (10 tests): add (two unique names), the edit of all five properties into one row, a held default, the three name refusals (the spec agrees on $), the reference guard on rename and remove with a control that renames and removes, the objectName input, the read-only control, the zh rows, and the reader's whole-word rule. Every write is parsed with FlowVariableSchema.
  • previews/FlowRunsPanel.render.test.tsx: a new describe (4 tests): unpublished with no fetch, published engine-only, and the unknown and empty controls.
  • studio-design/StudioDesignSurface.flowAutosave-34818.test.tsx (9 tests), on the real AutomationsPillar with the real FlowPreview / FlowInspector:
    • item 8: the badge is in the header's title row beside the h1, its sr-only text names the flow, and no success toast; a second edit clears the badge; a refused save gives one error toast, the strip and no badge; the leaf control (an Interfaces page autosave still toasts by its label);
    • item 6: classic Debug hides the aside and widens to 300px, and Canvas brings it back with the selection; in the right slot, Debug draws the simulator in the slot, calls showProps, and keeps the section canvas-only; control: Canvas keeps the aside;
    • item 9: an unserved flow reads the unpublished sentence with no run fetch, and a served flow with a silent engine reads the engine sentence.
  • Updated:
    • previews/emptyCollection-8526.test.tsx: the reworded noVars sentence.
    • previews/flowFieldChrome.i18n-10862-s4.test.tsx: an editable flow's variables panel shows Input / Output boxes and name values instead of in / out tags, so the case pins those keys.
    • Both, plus the new Studio test, take a module-top import '@objectstack/lint' (check:test-source-alias).

Ablations (each restored, tree clean after):

Mutation Result
flowsEmpty || section === 'debug' back to flowsEmpty classic Debug test red
chrome debugTarget: null right-slot Debug test red
drop setFlowSavedFor(current.name) badge title-row and second-edit tests red
chrome published: undefined both Studio Runs tests red
flowVariableReaders returns [] reference-guard and reader tests red
localizeColumn without the help overlay both served-fields zh tests red

Acceptance notes

  • "zh-CN 下节点面板没有英文标签或英文说明": live. Start, decision, approval and end panels were read in zh-CN, and no line with an English phrase was left (the approval had 7 before the served-help fix).
  • "1280 宽下调试工具栏四个按钮和状态都完整可见": live at 1280 in the right slot (419px).
    • Paused after 单步 ×3 on the approval: 运行 / 单步 / 继续 / 重置 and 已暂停 are on one row, in zh and en.
    • With approve / reject connections, the two decision buttons take 继续's place, and the toolbar wraps the status to a second row instead of clipping it.
    • The decision buttons show the connection keywords (Approve / Reject) in zh as well; they are left as they were, and named as a follow-up.
  • "连续改三处配置,标题栏不被提示盖住": live. A variable was added, renamed and given a type and default. 0 toasts were on screen, and the header read ✓ 已保存 beside the switch.
  • Item 9: an unpublished draft flow reads 发布并启用后…; a published showcase flow with the engine up reads 暂无运行记录 (control).

Verification

Measured on head 56a158240; 84f3858ad adds only the toolbar's flex-wrap, after which the two FlowSimulatorPanel suites (6 tests) pass (base c6ecd1fab, main merged in at f825d67a9), on a shared box.

  • Tests: the 218 test files under metadata-admin and studio-design that touch flows, the edited i18n tables, autosave or toasts on the final head: 218 files, 2977 passed and 1 skipped, exit 0. packages/i18n: 102 files, 1894 passed, 13 skipped, exit 0.
  • Type-check: pnpm --filter @object-ui/app-shell type-check (both projects) exit 0 on the final head. A first run failed on columnMenuLabel in code main brought (feat(studio): the Records tab keeps Add field on screen, a header click opens the field, the name field leads, the inspector puts the label first #34926), because the local @object-ui/components dist predated it. After pnpm --filter @object-ui/components build it exits 0. No file of this PR is involved.
  • Derived gates: dispatch-gates --commands on the merged tree gave 38. All 38 were run, plus check:i18n and check:i18n-stale-fill. 37 exited 0 at once. check:test-source-alias asked for the module-top lint import in three edited tests; after that it exits 0.
  • Eager bundle: not measured. Every new key is in the lazy studio namespace, and no eager pack changed.
  • Live: showcase backend (pnpm --filter @objectstack/example-showcase dev -- --fresh), the console under Vite with DEV_PROXY_TARGET, and Playwright at 1280×860 in zh-CN and en. The flow is a draft 「新会议提醒」 in an authored package, never published. The readings are in the comment below. The screenshots and the script are in the seat's project files under objectstack-seat3/34818-live/slice3/.
  • Not run locally, left to CI: the full ui suite, test:repo and the dogfood battery (no ! and no (narrowing) arm).

🤖 Generated with Claude Code

https://claude.ai/code/session_01WGufzgae1jRRi8FRrTxaZL

…ngine that is not answering

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzgae1jRRi8FRrTxaZL
A landed flow draft save no longer raises the draft-saved toast; the
header's spinner settles into a Saved badge whose accessible text names
the flow, and stays until the next edit. A failed save raises one error
toast beside the existing refusal strip.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzgae1jRRi8FRrTxaZL
…s place

While the open flow shows Debug, the Configuration aside is not drawn and
the simulator column widens to the aside's 300px; leaving Debug brings
the aside back with its selection. Pins items 6, 8 and 9 on the real
Automations pillar.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzgae1jRRi8FRrTxaZL
The Variables tab says what variables are for, and Add variable appends
a uniquely named text variable. Each row edits name, type, default,
input and output; refused names and defaults are held with a note, and a
variable a step still reads cannot be renamed or removed.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzgae1jRRi8FRrTxaZL
The approver columns' help, exclude-submitter, backup approvers, the
escalation settings and the decision's branch columns came from the
server's schema in English; the zh table now overlays a column's help
too, and the served approval and decision fields are pinned.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzgae1jRRi8FRrTxaZL
Live, the flow pillar hosts its Configuration in the surface's right
slot, so hiding the aside left that panel empty beside a squeezed
simulator. The chrome now takes a debug target: in the slot the
simulator is drawn in the Configuration's place and the section keeps
the canvas alone; opening Debug shows the slot's properties half.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzgae1jRRi8FRrTxaZL
@github-actions github-actions Bot added size/xl documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 17, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgae1jRRi8FRrTxaZL

Live readings for slice 3, on head 56a158240. The showcase backend ran with --fresh, the console ran under Vite, and Playwright drove it at 1280×860 in zh-CN and en. The flow is 「新会议提醒」, a draft in an authored package that was never published, with start, a decision, an approval and two ends. The screenshots and the script are in the seat's project files under objectstack-seat3/34818-live/slice3/.

Item zh-CN en
5: node panel The start, decision, approval and end panels have no line with an English phrase left. Before the served-help commit (f75fde5df), the approval had 7: the approver column helps, organization, Exclude Submitter and Fallback Approvers. quorum / per_group do not appear. English, unchanged.
6: Debug The Configuration is not drawn, and the simulator sits in the right panel (flow-debug-in-slot, 419px wide). 运行 / 单步 / 重置 and 空闲 are on one row. The section is grid-cols-1, so the canvas is alone. Back on Canvas, the panel returns showing the same node (节点 · 审批 / 负责人审批). Same, with Run / Step / Reset.
9: Runs, unpublished 发布并启用后,这里显示每次运行的记录。 Publish and turn on this flow, and each of its runs is listed here.
9: Runs, control showcase_task_completed (published, engine up) reads 暂无运行记录。 Neither the unpublished nor the unavailable sentence shows. —
7: Variables The empty state explains what variables are for. Add, then rename to discount, type 数字 and default 15 stored [{"name":"discount","type":"number","defaultValue":15}] (read back from the draft). The name $record was held: 名称不能以 $ 开头,这类名称归流程引擎所有。 Same, with the en notes.
8: autosave The header row reads ✓ 已保存 beside the switch, in the same row as the h1 新会议提醒. The sr-only text is 流程「新会议提醒」已保存. Toasts on screen were 0 before and 0 after the four edits. ✓ Saved, with the sr-only text Flow "新会议提醒" saved. 0 toasts.

Shots: zh-1-decision-panel, zh-2-approval-panel, zh-3-debug, zh-4-runs-unpublished, zh-5-vars-empty, zh-6-vars-added-saved, zh-7-header-saved, zh-8-vars-dollar-held, zh-9-runs-published, and en-1 to en-8.

Not driven live: a refused autosave (the error toast and strip are pinned in StudioDesignSurface.flowAutosave-34818), and the paused-run 继续 button at the slot width.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzf35CD4CvA4nKbwwUn

L1: ACCEPT
Head-sha: 56a1582

Read at this head:

  • the full diff (16 files, +1455 −91) against base 8e49847;
  • the slice 3 amendment 6954475081, including the seat's item 8 condition;
  • the changeset and the PR body;
  • the live readings in comment 6957650095.

The head merges cleanly with current main. check-governed-merges reads not governed (1546 lines). Fixes #34818 is right for the last slice.

Shape

  • Claim surface. Every file sits on a row of 6954475081.
    • Code: flow-node-config.ts, metadata-admin/i18n.ts, FlowPreview.tsx, the new FlowVariablesPanel.tsx, FlowRunsPanel.tsx, the StudioDesignSurface.tsx flow pillar, and a comment in StudioPillarKit.tsx.
    • Lazy studio en.ts and zh.ts, and the changeset.
    • The new pins sit at the names the body maps to the claim's rows:
      • flow-node-config.zhPanel-34818 for the inspectorStrings.i18n-34818 row;
      • StudioDesignSurface.flowAutosave-34818 for item 8's new suite, also covering items 6 and 9;
      • FlowVariablesPanel-34818, and a new describe in FlowRunsPanel.render.
    • emptyCollection-8526 and flowFieldChrome.i18n-10862-s4 are the "existing tests that pin the old words", listed in the body as the claim asks.
    • FlowSimulatorPanel.tsx and ResourceEditPage.tsx are untouched, as the claim allows.
  • Changeset. It names @object-ui/i18n (published) and @object-ui/app-shell (private). Clause-②: no and Metadata-protocol: none hold: new keys go only to the lazy namespace, and there is no spec, protocol or lint change.
  • Strings. Every new or reworded key exists in both en and zh, and the zh copy reads naturally. No eager pack changed, so no budget reading is owed.

The code reads right

  • Item 8 meets the seat's condition.
    • The badge sits in the flow header's own title row, beside the h1.
    • Its role="status" sr-only text names the flow: 流程「…」已保存 / Flow "…" saved.
    • It is set only when sent.unmoved(), and the next onPatch clears it.
    • A refused save keeps the strip and raises one toast.error, keyed per flow.
    • Leaf, app-nav and object autosaves keep announceDraftSaved; the leaf control is pinned.
  • Item 6.
    • Debug drops the aside in both layouts and keeps the selection.
    • In the slot, the simulator is portaled into slot.propsTarget and showProps() runs on entering Debug. This is the reported deviation (1); without it the slot would be an empty panel, so it is within the item's intent.
    • In the classic row, the column widens to the aside's 300 px.
  • Item 7.
    • Every write is the whole variables array, parsed by FlowVariableSchema in the tests.
    • The $-led refusal uses the spec's own flowBoundVariableNameSchema.
    • Rename and remove are refused while a step, connection or finish message mentions the variable. The read is deliberately wide, so it is stricter than the engine and never looser.
    • A read-only package keeps the plain list.
  • Item 9.
    • published comes from the rail's read of the published list.
    • That rail load is keyed on publishNonce, so after a publish the Runs tab re-reads instead of staying on 发布并启用后….
    • A failed read leaves the value unknown and the old sentence.
  • Item 5. localizeField and localizeColumn overlay a prose placeholder and a column help. The test reads the served JSON Schema through jsonSchemaToFlowFields, which is how the live panel gets its fields, so the 7 English helps found live are pinned where they occur.

Live readings (6957650095)

At this head, in zh-CN and en at 1280×860, the readings cover:

  • item 5: no English line left in the start, decision, approval or end panels;
  • item 6: Debug in the slot at 419 px, with 运行 / 单步 / 重置 and 空闲 on one row; back on Canvas, the same node is shown;
  • item 7: the variable is added, renamed, typed and given a default, and the stored JSON is read back; $record is held;
  • item 8: ✓ 已保存 in the title row with the named sr-only text, and 0 toasts across four edits;
  • item 9: the unpublished sentence, plus a published control that reads 暂无运行记录.

Should-fix

  • S1. One reading for the acceptance's "four buttons". The acceptance says the debug toolbar's four buttons and its status are fully visible at 1280. The reading shows three buttons and the status, with about 150 px free. 继续 appears only while a run is paused, and that state was not driven. 单步 (Step) should leave the simulator paused, so one click and one reading of the slot toolbar, in zh, at this head or the next, closes it. If 继续 wraps or clips, the claim's conditional FlowSimulatorPanel.tsx row covers the fix. No new L1 verdict is needed if the reading shows all four on one row; post it on the PR and tell me.
  • S2. Name the new read. The claim's item 9 row says published is set "from what the pillar already reads". The PR adds readPublishedFlowNames, one published-list read per scope (the package, and its pair) on each rail load. That is reasonable, because the rail's own surfaces include drafts. But it is a request the claim did not foresee, and the body's "What changes" mentions it without calling it a deviation. A one-line note in the body, or a seat ack, is enough.

Notes

  • The refused-autosave path (error toast and strip) is pinned but was not driven live. That is fine for a failure path the tests reach on the real pillar.
  • In vars.inputRecord, check that {object} is filled with the object's label, not its machine name, if the panel has the catalog at hand. If it does not, this is a nit only.
  • CI is still owed green at the final head.

…e side column's width

Paused on an approval with approve and reject connections, the decision
buttons and the status pill outgrew the 300 px column and the pill was
cut off; the toolbar now wraps.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzgae1jRRi8FRrTxaZL
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgae1jRRi8FRrTxaZL

L1-b S1: the paused debug toolbar, live. This is the same rig as comment 6957650095: 1280×860, Debug in Studio's right slot (CSS x 861 to 1280, 419px wide). The box edges below are in CSS px.

State zh-CN en
Paused after 单步 ×3 on the approval (one plain out-edge) 运行 873–937 · 单步 943–1008 · 继续 1014–1080 · 重置 1086–1150 · 已暂停 1227–1268, one row Run · Step · Continue 1014–1111 · Reset 1117–1190 · paused 1217–1268, one row
Paused on an approval with approve / reject edges (slice 2's default), on head 56a158240 已暂停 at 1266–1288: clipped past the slot's edge paused at 1275–1326: clipped
The same, on head 84f3858ad (toolbar flex-wrap) the buttons on row 1; 已暂停 1227–1268 on row 2 Run · Step · Approve · Reject on row 1; Reset and paused on row 2

So with 继续, all four buttons and the status fit on one row. With approve / reject, the toolbar used to clip the status, and 84f3858ad wraps it instead. FlowSimulatorPanel.tsx is on the claim for exactly this case.

Shots in objectstack-seat3/34818-live/slice3/:

  • zh-10-debug-paused, zh-11-debug-paused-toolbar, en-10, en-11: the 继续 state;
  • zh-12 / zh-13 and en-12 / en-13: the approve / reject state, after the wrap.

Follow-up, not in this PR: the simulator's decision buttons show the connection keyword ("Approve" / "Reject") in zh as well. The canvas pills already read 通过 / 驳回 (slice 2).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzf35CD4CvA4nKbwwUn

L1: ACCEPT
Head-sha: 84f3858

This is a delta read from my ACCEPT at 56a1582 (6957720045). The one commit since then, 84f3858, adds flex-wrap and a comment to the FlowSimulatorPanel.tsx toolbar row. That is the conditional row the claim allows for exactly this case. The head merges cleanly with current main.

Should-fix: closed

  • S1. Reading 6957901794: in a paused state in the 419 px slot, 运行 / 单步 / 继续 / 重置 / 已暂停 sit on one row, in zh and en. The reading also found a real clip: paused on an approval, its decision buttons pushed the status pill past the slot edge. With the wrap, the status moves to a second row and stays fully visible, which is what the acceptance asks.
  • S2. The PR body now names readPublishedFlowNames as a deviation. The seat acknowledged it as an extension of 6954475081, on the condition of one request per scope per load, with no per-row fan-out. The code as read makes one listResponse per scope inside the rail load.

CI is still owed green at this head.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgae1jRRi8FRrTxaZL

CI on head 84f3858ad (run 44153558093): the filter job failed at its first API call, "Fetching list of changed files for PR#34955 … ##[error]other side closed". That is a dropped connection to the GitHub API before any filter ran, so it is not this PR's. The Dogfood Regression Gate aggregator failed because it reads filter. Every other job passed: Type Check UI, Lint UI, Build & E2E UI and Test UI 1 to 16. The failed jobs were re-run once (attempt 2).

The red TypeScript Type Check and Test UI on the earlier head 56a158240 are lanes cancelled by the push of 84f3858ad (typecheck-consumers concluded cancelled).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgae1jRRi8FRrTxaZL

Live E2E UI red on 84f3858: not this PR's, so I'm refreshing the branch instead of re-running.

  • Run: 44153558093 attempt 2, job 134305762489, with --retries 0. 1 test failed and 16 passed.
  • Signature: e2e/live/master-detail.spec.ts:78 "Create stores the populated parent through one atomic batch" failed in beforeEach at :65. getByRole('heading', { name: 'New Project + Tasks' }) was not found within 5000 ms. The first error is that timeout, not an assertion inside the test.
  • Why it isn't this PR's:
    • The same beforeEach passed on the tests just before and just after it in the same run: :68 passed in 2.5 s and :103 passed in 4.1 s.
    • The diff touches only the flow designer (metadata-admin flow previews and inspectors), the Studio flow pillar, and the studio i18n namespace. It touches nothing under plugin-form, nothing on the showcase object-form route, and none of the master-detail code.
  • No known card covers this exact signature. ui live e2e: master-detail.spec.ts times out waiting for POST /api/v1/batch (15 s), twice on 2026-10-31 — once on main, once ejecting a queued PR #28471 (closed) was the 15 s /api/v1/batch wait, not the heading. I'm recording it here as a suspected new flake, as landing-operations.md asks, and not adding it to the ledger myself.
  • Next step: this run's rerun was already spent on the earlier filter socket close. Following platform-readings.md ②, I'm sending pr_update_branch so the full suite runs fresh on current main. If the same signature fails again, it counts as real red and I'll stop and diagnose.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgae1jRRi8FRrTxaZL

Landing #34955 (slice 3 of #34818, the last slice) at head 6de7553ef.

Probe Result
Governed surfaces (check-governed-merges --pr 34955) 0 of 17 paths are governed. 1550 lines changed, under the 3000 limit.
K (first-parent, PRBASE fff0ad0c1, the merge base) 1: 44c7a4a41, analytics list_datasets (mcp and service-analytics). It shares no file with this PR.
CI on 6de7553ef Every check passed or was skipped. Live E2E UI now passes; the earlier master-detail timeout on 84f3858ad was a flake, see comment 6958678800.
Reviews L1-b ACCEPT on the delta at 84f3858a. The only change since then is the relay's merge of main. No seat L2 review is needed, since Clause-②: no.

State: ready for review, with auto-merge enabled. Fixes #34818 closes the card on merge. The Approve/Reject follow-up is tracked as epic note 25 on #34571.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 17, 2026 20:04
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⛔ merge queue 构建失败 — 先分诊,再决定要不要重排

队列构建 44173515593 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集),
所以失败的测试可能在本 PR 没碰过的包里 —— 那不是重排能修的。每次盲目重排都会让排在后面的所有 PR 重建一轮。

分类:failure —— 按下面的日志分诊。

失败的 job(日志抽取,best effort):

  • Test UI (11/16) — 失败步骤: Run the ui tests (shard 11/16)

    × withdraws the criteria instead of storing a blank bound 98ms
    FAIL   dom  packages/fields/src/widgets/__tests__/FilterConditionField.betweenBlankBound-9914.test.tsx > the stored-criteria path: clearing a bound of a saved range > withdraws the criteria instead of
      ↳ 失败原因: Error: expect(element).toHaveValue(5)
    

↳ 失败原因 是判读的关键:超时(Test timed out in … / Hook timed out in …)多半是负载/时序,不是本 PR 的回归;
断言(AssertionError: …)才指向真实的行为改变。两者的 FAIL 行长得一模一样,只有这一行能区分。

⚠️ 断言这一侧有一类例外,判据是断言在测什么,不是它是不是 AssertionError。 断言的对象是产品行为(一个值、一个形状、一次拒收)⇒ 照上面读:真实的行为改变,去查,⛔ 不要重排掉;
断言的对象是这次实验自身的有效性前提(跑完的耗时、负载下的先后、任何只在时间预算内才成立的条件)⇒ 它跟超时是同一类,同样对负载敏感,重排一次是合法的判别手段。
识别是机械的:断言的消息或它比较的值本身点名了一段时长、一个时间戳、一个耗时计数。实测过的一对 —— AssertionError: SecurityPlugin.init() ran: expected false to be true 测的是产品行为(真回归);
AssertionError: this run took over a second, so second-precision stamps could have differed too: expected 1006 to be less than 1000 测的是实验前提:它守护的那条不变式当时是绿的,同一个 head 原样重排一次即成功。
穿着 AssertionError 外衣的时间测量,仍然是时间测量。(⛔ 这只改「怎么读一次红」,不改「哪些测试可以重排」——后者由别处管。)

跨 PR 相同签名(24h,按失败测试文件聚合):

  • packages/fields/src/widgets/__tests__/FilterConditionField.betweenBlankBound-9914.test.tsx — 24h 窗口内只有本 PR 撞到过,暂不汇总(再有一个不同 PR 撞到就会自动开汇总 issue)。
  • ⚠️ 24h 评论账本没读完(超过 5 页仍未读到窗口尽头),所以上面的「不同 PR 数」是下界,不是全量。

历史信号:

  • 本 PR 过去 24h 无队列失败记录(首次)。
  • 过去 24h 队列共有 34 个失败构建(不含本次)。

分诊清单:

  1. 失败测试在本 PR 改动的包里 → 真回归,修 PR。
  2. 失败测试与本 PR 无关 → 看上面的「跨 PR 相同签名」;已有汇总 issue ⇒ flaky/环境问题实锤,去那张 issue 上谈,修好前重排只会再烧一轮全队列。
  3. 两者都不是 → 可能与同组 PR 语义冲突;等前面的 PR 落地或失败出队后再重排一次即可,不要连续重排。

Generated by Claude Code · merge-queue-triage workflow (#4859)

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgae1jRRi8FRrTxaZL

Queue build 44173515593 failed. This is a new signature, so per landing-operations.md I am not re-queuing; the seat decides the next step.

  • Signature: Test UI (11/16) failed one test, 1 of 4739: packages/fields/src/widgets/__tests__/FilterConditionField.betweenBlankBound-9914.test.tsx:174, in "the stored-criteria path: clearing a bound of a saved range > withdraws the criteria instead of storing a blank bound". The assertion expect(to).toHaveValue(5) received "5", a string, instead of the number 5. So the To box that findByLabelText found was not a number input when the assertion ran.
  • First reading: likely a render-order race, not this PR.
    • The test's dataSource.getObjectSchema is async, and age is typed number only once that schema arrives. A To box drawn before that holds the bound as text.
    • This PR touches only app-shell flow-designer and Studio files and the lazy studio i18n namespace. @object-ui/fields imports neither, so the failing file's import closure is disjoint from the diff.
    • On the exact queue commit 471a3da09 (main 2ce9c7f99 + docs(lint): state where the dataset vocabulary advisory's reach ends #34943 + this PR), the file passes 3 of 3 runs locally (14/14 each). It also passes on the PR head 6de7553ef.
  • Three facts: (1) the import closure is disjoint: holds. (2) the queue base is green on this shard: not established. (3) the first error is a timeout: does not hold, since it is an assertion. With not all three established, the rule says no re-queue from this thread.
  • The 24h ledger shows only this PR on this file, read as a lower bound since the ledger read was incomplete. There is no anchor card.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzgae1jRRi8FRrTxaZL

Re-queuing #34955 once, at the unchanged head 6de7553ef.

  • Kick: queue build 44173515593, Test UI (11/16). The failing test is FilterConditionField.betweenBlankBound-9914.test.tsx:174, where toHaveValue(5) received "5". The reading is in comment 6961223962.
  • Basis: the seat's ruling in its thread. The failure is in packages/fields, which this PR does not touch. The file passes 3 of 3 runs on the exact queue commit. It reads as an assertion race on the async schema typing. The seat has asked triage to file a card for the flake (mailbox pm:mailbox — repo:objectstack#3 · os-support-ai #34585, comment 6961296270).
  • Stop rule: if the queue ejects this PR again on the same test, I won't re-queue it. It then waits for the flake fix.

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

Labels

documentation Improvements or additions to documentation size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

2 participants