Skip to content

feat(app-shell): Setup › Installed Apps shows app updates, folds modules under their app, and leaves the developer doors to Studio - #34815

Merged
objectstack-fleet[bot] merged 11 commits into
mainfrom
claude/issue-34722-installed-apps-updates
Nov 17, 2026
Merged

objectstack-fleet[bot] merged 11 commits into
mainfrom
claude/issue-34722-installed-apps-updates

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread

Fixes #34722

Clause-②: yes (widening — locale keys only)
Metadata-protocol: none

维护者速读

  • 改了什么:设置 › 已安装应用现在会标出应用市场里有新版本的应用("有可用更新 → vX",点击进入该应用的市场页去升级),页首说明有几个应用可升级;一个应用一行,它带的模块包折叠在应用下面按需展开;列改为名称/版本/状态/来源/更新;导入、新建包、平台包开关和"显示全部"只留在 Studio 的包页。
  • 为什么改:管理员在已安装应用里看不到哪些应用该升级,也被内部 ID、Scope、开发者按钮和逐个模块的长列表淹没(设置 › 已安装应用:有新版本时在这里提示并能直接去升级,不必进应用市场才看得到 #34722,ADR-0146 D1 / ADR-0130 D2)。
  • 风险与回滚:只改前端一个页面在 ?source=marketplace 时的绘制,Studio 包页(同一组件、不带 source)不变;市场读不到时列表照常显示并加一行说明,绝不显示"已是最新"。回滚=回退本 PR,无数据或接口变化。
  • 先看:ui/packages/app-shell/src/views/metadata-admin/PackagesPage.tsx 的 readUpdateTargets(何时算"读不到")与 appOfModule(模块归属哪个应用);console/marketplace/__tests__/marketplaceNamespaceBoundary.test.ts 新增的 hook-gated 门;PackagesPage.installedAppsUpdates-34722.test.tsx。
  • 两分钟验证:pnpm --dir ui exec vitest run packages/app-shell/src/views/metadata-admin/PackagesPage.installedAppsUpdates-34722.test.tsx,预期 16 passed。
  • 需要你做的:无,席位落地

What changes

Setup › Installed Apps is the developer:packages component opened with ?source=marketplace (Setup's nav_marketplace_installed); Studio › Packages is the same component with no params. The view is told apart by the existing installedAppsView flag, so Studio's door is untouched.

Before After (Setup › Installed Apps only)
Update information none the marketplace's own UpdateAvailableBadge ("Update available → v6.4.0") plus "Upgrade", linked to /system/marketplace/PACKAGE_ID (the route the Details action already opens); a header line "N apps have a newer version in the marketplace."
Catalog unreadable / no marketplace n/a the list renders as before plus one line: "Update information can’t be read from the marketplace right now, so this list can’t say which apps have a newer version." Never drawn as up to date.
Modules every package its own row a type: 'module' package that declares exactly one installed app (same source) in manifest.dependencies is folded under that app's line; a toggle (aria-expanded, aria-controls) shows it. This is the same tie the server's isDisableableAppModule reads. A module declaring two apps, or none in view, stays its own line. A search that hits a module shows it under its app.
Columns Name, ID, Version, Scope, Status, Source, Actions Name, Version, Status, Source, Update, Actions
Developer doors Import, New Package, Show platform packages, "Source: Marketplace · Show all" chip none of them on this view; Studio › Packages keeps all four

How the update is decided: for each app line that has an install-ledger entry, getMarketplacePackage(packageId) is read once. The latest version is package.latest_version?.version ?? versions[0]?.version, and the badge shows only when updateTarget(installed, latest) (the marketplace pages' own rule) answers a version. A 404 means not listed (no badge, no note). Any other failure, or isMarketplaceEnabled() false, means unavailable (the note). Modules are never asked about.

The namespace gate (decision Q1 = A on the claim amendment): the badge's words live only in the lazy marketplace namespace. InstalledAppUpdateCell calls useMarketplaceNamespace(). While the read or the namespace is loading, the cell holds a skeleton placeholder, never an empty "up to date" cell. When the namespace is ready, it draws UpdateAvailableBadge. When the namespace fails, it still shows "→ v6.4.0" and the Upgrade link. marketplaceNamespaceBoundary.test.ts gains one declared hook-gated door (UpdateAvailableBadge.tsx drawn only from PackagesPage.tsx) and asserts through the TypeScript AST that the importer imports and calls the hook. The eager language pack does not grow: this branch has 0 diff lines under ui/packages/i18n/src/locales/.

Strings: nine keys added to the lazy studio namespace in en and zh (engine.packages.installedApps.col.update, .upgrade, .updatesSummaryOne, .updatesSummary, .updatesUnavailable, .modulesOne, .modules, .showModules, .hideModules).

Docs: content/docs/deployment/marketplace-handbook.mdx said Installed Apps lists "each package of a suite as its own row", which this change makes false. Two sentences now say one line per app, with modules folded under it.

Not done here, as the card says: the upgrade flow itself (the link lands on the existing marketplace page), plans and permissions, and the packaged-actions page (#34724).

Narrowing: the developer doors leave Setup › Installed Apps

Import, New Package, the platform-packages switch and the Source chip's "Show all" are no longer drawn when the page is opened with ?source=marketplace (Q2 = A for the chip). Studio › Packages keeps all of them. These tests pin it:

  • PackagesPage.installedAppsUpdates-34722.test.tsx › "the two doors (objectstack#34722)":
    • "Setup → Installed Apps draws the administrator columns and none of the developer doors"
    • "Studio → Packages keeps Import, New Package, the platform switch and the developer columns, and asks no catalog"
    • "Studio → Packages filtered to another Source keeps its Show all chip"
  • PackagesPage.source-12675.test.tsx:
    • "?source=marketplace shows only the marketplace rows, with no Show all that clears it" (replaces the old pin, which asserted Show all on this door)
    • "another ?source= shows only its rows, and Show all clears it"

Measured live: the developer door is the same component opened without source (Import 1, New Package 1, platform switch 1, columns including ID and Scope). The Studio app shell itself is NOT MEASURED live, because the fixture runtime does not serve the Studio app ("This app can't be opened").

Tests

All on ef65831e5c unless noted; the pushed head 53503c6a26 is the same tree (only a commit message was reworded).

  • PackagesPage.installedAppsUpdates-34722.test.tsx (new, 16 tests): badge plus href plus click; up to date gives no badge and no summary; 404 gives no badge and no note; counts two apps; 502 gives the note with rows still listed; marketplace disabled gives no catalog read plus the note; apps only are asked; zh badge "有可用更新 → v6.4.0"; namespace loading gives a placeholder; namespace failed gives "→ v6.4.0" plus the link; HotCRM one line, with four modules on demand; two-apps, orphan and code-app modules stay unfolded; search "cpq" shows the module under its app; plus the three door tests above.
  • PackagesPage.source-12675.test.tsx: one pin replaced, one added (24 tests).
  • marketplaceNamespaceBoundary.test.ts: new it.each "%s is drawn only by importers that ask for the namespace themselves (objectstack#34722)" (6 tests).
  • Final run: os-verify-lock.sh -c "pnpm --dir ui exec vitest run --maxWorkers=2 PackagesPage.installedAppsUpdates-34722 PackagesPage.source-12675 marketplaceNamespaceBoundary", VERDICT command-exit 0, Test Files 3 passed (3), Tests 46 passed (46).
  • Wider related run (earlier head a175016b49): PackagesPage., ResourceListPage., Create/EditPackageDialog, console/marketplace/__tests__, spec-symbol-parity, the product-neutral ratchet, the studio and marketplace namespace suites, and en/zh and all-locales parity. 98 files, 1047/1048 passed; the one failure was the source-12675 pin the Q2 decision changes, since fixed.
  • Type-check: pnpm --filter @object-ui/app-shell type-check (tsc and tsconfig.test.json), TC_EXIT=0 on 8fc8e215a5 (ef65831e5c adds docs only).
Ablations (each red, each restored to blob == HEAD with `git diff HEAD` empty)

Run with node scripts/ablation-replace.mjs (anchor hit x1 to x0, auto-restore, blob verified against HEAD 5356cfce1ec3 of PackagesPage.tsx). These are vitest-from-source suites, so no dist/ leg applies.

Mutation Result
updateTarget(...) replaced by null (badge) 5 failed / 16
catalog failure no longer sets unavailable 1 failed / 16
marketplace-disabled no longer sets unavailable 1 failed / 16
appOfModule returns null (no folding) 2 failed / 16
header actions drawn on both doors 1 failed / 16
namespace-loading no longer holds the placeholder 1 failed / 16
Show-all chip drawn on both doors 1 failed / 16
useMarketplaceNamespace() call removed (boundary suite) 2 failed / 6

Acceptance notes

  • Acceptance 4 is measured on a fixture, not on HotCRM. The live fold was read on examples/app-multi-package, whose served com.example.multi.orders row is {"type":"module","dependencies":{"com.example.multi.core":"^1.0.0"}}: one module under one app. HotCRM's four-module shape is pinned only in the unit suite. HotCRM itself is NOT MEASURED live.
  • Live readings used a stubbed catalog (allowed by the brief). The page requests were intercepted to mark the two example rows source: marketplace at 6.2.0, with an install-ledger entry pkg_multi_core and the catalog answering 6.4.0 / 6.2.0 / 502. Everything else came from the real backend.
  • Modules have no Update cell and no row action. An app's update covers the modules it brought (ADR-0130 D2). A module row still opens the detail sheet, where Disable lives, as before.
  • Out of scope, observed (class a, user-visible truncation): on the developer door (/apps/setup/component/developer/packages, no source) at a 1400 px viewport, the Actions column is clipped by the table's overflow. This is unchanged by this PR (that table branch is untouched). Reach: live screenshot of that URL at 1400x900. Reported to the seat to file. Dedupe words: packages table actions column clipped, overflow, Studio packages.

Verification

  • node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at ef65831e5c (same tree as head 53503c6a26): 71 families derived, all run locally, each exit code below. --ran reconciliation: see details.
  • check-eager-closure-budget (after pnpm --filter '@object-ui/console^...' build and pnpm --filter @object-ui/console build, lock VERDICT command-exit 0): i18n-locale-en 60.2 KB / 60.5 KB ceiling (headroom 0.4 KB); the aggregate eager closure is 1893.2 KB / 2431.6 KB. The headroom is the existing headroom: this branch changes no file under ui/packages/i18n/src/locales/.
  • node scripts/pm/overlap-check.mjs --branch=claude/issue-34722-installed-apps-updates: VERDICT clean exit 0 before each push.
  • Not run locally, CI-owned: test:repo, repo-wide lint, the full lint-workflow farm. Full dogfood is not owed (no ! in the title, no narrowing arm on Clause-②).
Derived gate families, 71 of 71, exit codes

Run on ef65831e5c. 53503c6a26 (the pushed head) is the same tree, 0607e32a0d; only the docs commit message was reworded.

  • node scripts/check-adr-0087-registration.mjs --base origin/main · exit 0
  • node scripts/check-adr-0087-registration.mjs --self-test · exit 0
  • node scripts/check-adr-links.mjs · exit 0
  • node scripts/check-adr-links.mjs --self-test · exit 0
  • node scripts/check-changeset-no-major.mjs --base origin/main · exit 0
  • node scripts/check-closing-keyword-parity.mjs · exit 0
  • node scripts/check-closing-keyword-parity.mjs --self-test · exit 0
  • node scripts/check-comment-mask-corpus.mjs · exit 0
  • node scripts/check-doc-route-spelling.mjs --advisory · exit 0
  • node scripts/check-doc-route-spelling.mjs --self-test · exit 0
  • node scripts/check-docs-section-name.mjs · exit 0
  • node scripts/check-docs-section-name.mjs --self-test · exit 0
  • node scripts/check-empty-changeset.mjs --base origin/main · exit 0
  • node scripts/check-empty-changeset.mjs --self-test · exit 0
  • node scripts/check-sdui-manifest.mjs · exit 0
  • node scripts/check-sdui-manifest.mjs --self-test · exit 0
  • node scripts/check-section-landing-index.mjs · exit 0
  • node scripts/check-section-landing-index.mjs --self-test · exit 0
  • node scripts/ci/plan-test-core-shards.mjs --self-test · exit 0
  • node scripts/ci/snapshot-next.mjs --self-test · exit 0
  • node scripts/pm/check-governed-queue-guard.mjs --self-test · exit 0
  • node scripts/pm/release-rehearsal-clone.mjs --self-test · exit 0
  • node scripts/release-pending-publish.mjs --self-test · exit 0
  • pnpm --dir ui exec vitest run scripts/ · exit 0
  • pnpm --filter @objectstack/lint run check:doc-formula-expressions · exit 0
  • pnpm --filter @objectstack/lint run check:doc-security-posture · exit 0
  • pnpm --filter @objectstack/spec run check:docs · exit 0
  • pnpm --filter @objectstack/spec run check:duration-unit-keys · exit 0
  • pnpm --filter @objectstack/spec run check:empty-state · exit 0
  • pnpm --filter @objectstack/spec run check:error-code-provenance · exit 0
  • pnpm --filter @objectstack/spec run check:liveness · exit 0
  • pnpm --filter @objectstack/spec run check:skill-examples · exit 0
  • pnpm --filter @objectstack/spec run check:strictness-ledger · exit 0
  • pnpm --filter @objectstack/spec run check:variant-docs · exit 0
  • pnpm --filter @objectstack/spec run check:yaml-examples · exit 0
  • pnpm check:adr-anchors · exit 0
  • pnpm check:changeset-gate-self-tests · exit 0
  • pnpm check:ci-filter-parity · exit 0
  • pnpm check:closed-ceremony-text · exit 0
  • pnpm check:corpus-claim-drift · exit 0
  • pnpm check:cross-package-test-inputs · exit 0
  • pnpm check:dispatcher-error-vocabulary · exit 0
  • pnpm check:doc-anchors · exit 0
  • pnpm check:doc-authoring · exit 0
  • pnpm check:doc-frontmatter · exit 0
  • pnpm check:docs-audit-scope · exit 0
  • pnpm check:docs-redirects · exit 0
  • pnpm check:docs-single-h1 · exit 0
  • pnpm check:docs-spec-enumerations · exit 0
  • pnpm check:docs-transcript-drift · exit 0
  • pnpm check:driver-memory-census · exit 0
  • pnpm check:engine-double-contract · exit 0
  • pnpm check:gitlink-declared · exit 0
  • pnpm check:nul-bytes · exit 0
  • pnpm check:published-files · exit 0
  • pnpm check:published-readme-links · exit 0
  • pnpm check:query-options-erasure · exit 0
  • pnpm check:react-page-adapter-contract · exit 0
  • pnpm check:refd-timer-probe · exit 0
  • pnpm check:registry-log-declared · exit 0
  • pnpm check:rest-log-spy-declared · exit 0
  • pnpm check:role-word · exit 0
  • pnpm check:skill-identifier-liveness · exit 0
  • pnpm check:test-source-alias · exit 0
  • pnpm check:tier-file-adoption · exit 0
  • pnpm check:type-check-coverage · exit 0
  • pnpm check:type-check-debt · exit 0
  • pnpm check:undeclared-dep-imports · exit 0
  • pnpm check:vendor-version-stamps · exit 0
  • pnpm check:watch-hint-literal · exit 0
  • pnpm check:where-matcher · exit 0

pnpm --dir ui exec vitest run scripts/ (under the lock): Test Files 171 passed, 2 skipped (173); Tests 5077 passed, 2 skipped (5079).

dispatch-gates --ran: "Run reconciliation — 71 derived, 71 run, 0 NOT-MEASURED, 0 UNRUN", exit 0.

node scripts/check-nul-bytes.mjs: OK, exit 0.

Live readings (Chromium, fixture runtime plus Console dev server)

Fixture: examples/app-multi-package, booted with objectstack dev --seed-admin --fresh; Console vite dev server proxied to it. These readings were taken from the working tree that was committed as 8fc8e215a5 46 s later, with the Console serving source. ef65831e5c adds docs only.

  • A1, update available: cell text "Update available → v6.4.0" + "Upgrade"; href /apps/com.objectstack.setup/system/marketplace/pkg_multi_core; the click lands on that path; summary "1 app has a newer version in the marketplace."; one catalog read, /api/v1/marketplace/packages/pkg_multi_core; headers Name, Version, Status, Source, Update, Actions; Import 0, New Package 0, platform switch 0, Source chip 0.
  • A2, up to date (catalog 6.2.0): badge 0, summary 0, unavailable note 0.
  • A3, catalog 502: app row listed 1; note "Update information can’t be read from the marketplace right now, so this list can’t say which apps have a newer version."; badge 0.
  • A4, folding: orders row 0 before, toggle aria-expanded "false"; after the click, orders row 1 with data-module-of="com.example.multi.core".
  • Developer door (same component without source): Import 1, New Package 1, platform switch 1; headers Name, ID, Version, Scope, Status, Source, Actions; orders row 1; catalog reads 0.

Generated by Claude Code

…lumns

Work in progress; not yet type-checked or tested.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
…r Source keeps it

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
… two edited suites

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
…s importer calls the hook

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
… the Update link does not wrap

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
…ules folded under it

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

Copy link
Copy Markdown
Contributor Author

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

席位核对 · L1 (seat 3, L1-a) · 2026-11-17T11:44Z

L1: ACCEPT
Head-sha: 53503c6
Card: #34722 · claim 6943575066 · amendments 6943956723 and 6946649244 · os-dev reports 6943931103 (premise stop) and 6946593215 (final, this head)

All six card items are built on the Installed Apps door only, inside the amended surface. The badge and the version rule are imported from console/marketplace/, not copied. The locale-only widening (Clause-②: yes (widening — locale keys only)) is delegated to L1-a and holds. No must-fix. One should-fix (an ARIA reference). The declared narrowing is the seat's: the claim says "one reviewer read at contract-review tier is owed on the narrowing before the queue", and this L1 does not stand in for it. I have routed it to the seat.

Must-fix

None.

Should-fix

  1. aria-controls names an element that does not exist. The module toggle carries aria-controls={\pkg-modules-${rowId}`} (PackagesPage.tsx:2142), but no element has that id: the module rows are bare s keyed by their own ids. When the toggle is open, the reference dangles, and axe's aria-valid-attr-valuereports it foraria-expanded="true". One line fixes it, either way: give each module an id and list them, or droparia-controls (aria-expanded` already carries the state, as fix(ui): on a phone the record page keeps Edit in its bottom bar, a compact stage bar and two-column key fields #34684's compact stage list does). It does not block landing.

Readings that hold

Item Reading
PR shape Draft, base main, Fixes #34722, with no other closing verb. No ! and no (narrowing) in the title. The narrowing is a UI door move inside the same component, not a contract narrowing, so no dogfood battery is owed. The contract-review read the claim names is separate (above).
Scope 8 files, +913/−12. PackagesPage.tsx, the new PackagesPage.installedAppsUpdates-34722.test.tsx and the edited PackagesPage.source-12675.test.tsx are in views/metadata-admin/**. The marketplaceNamespaceBoundary.test.ts edit is in console/marketplace/** (amendment 1 route). studio/{en,zh}.ts and marketplace-handbook.mdx are named by amendment 2. The changeset is in .changeset/. Nothing in console/marketplace/ source is edited. ui/packages/i18n/src/locales/** is untouched.
Merge head One main merge (a175016b, main f02f4f63), with later commits on top. GitHub reports mergeable_state: clean.
(1) Discriminator installedAppsView = sourceFilter.value === 'marketplace' already existed and is what Setup's nav sends (params: { source: 'marketplace' }). Every new branch is gated on it: actions / foldedActions → undefined, the platform switch, the Source chip, and the new table. The Studio table (the : ( arm) is outside the diff, so Studio's branch is unchanged. Another ?source= keeps its Show-all chip, which is pinned in the edited 12675 test.
(2) Catalog read readUpdateTargets asks getMarketplacePackage(install.packageId) once per app line (never per module), using latest_version.version, else versions[0].version, then updateTarget(install.version, latest) (the marketplace's own rule). A 404 gives no badge. Any other rejection, or !isMarketplaceEnabled(), gives unavailable: true and one note. While reading, or while the marketplace namespace loads, the cell holds a Skeleton. An empty cell appears only after a completed read with no target, so silence is never drawn as "up to date". A sequence ref drops stale answers, and the effect keys on primitives. The header summary is the one / many count (card item 3). Pinned, with ablations for each arm.
(3) Folding appOfModule folds a row only when manifest.type === 'module', it is not of a platform scope, and it directly declares exactly one same-Source type: 'app' row in manifest.dependencies. That is the server's isDisableableAppModule tie, read from what GET /api/v1/packages already serves (the manifest whole). With zero or two-plus parents a module stays a line of its own, so nothing is hidden. Search shows a group when the app or any module matches, and opens it when a module matched. HotCRM's four-module shape is pinned in unit tests. Live it was read on a one-module fixture; four modules live is declared NOT MEASURED.
(4) Columns Name (with "N modules" under an app), Version, Status, Source, Update, then Actions when shown. ID and Scope are gone from this view. Module lines get no row actions and no Update cell: they update with their app.
Badge door (amendment 1) InstalledAppUpdateCell calls useMarketplaceNamespace() and draws UpdateAvailableBadge only on ready. On a namespace failure it still draws "→ vX" and Upgrade. The boundary test gains a declared HOOK_GATED_DOORS entry (UpdateAvailableBadge.tsx ← PackagesPage.tsx). A door counts as gated only while every outside importer is declared and its AST imports and calls the hook. An undeclared importer puts it back in the resident-key walk. Ablating the hook call turns 2/6 red. The guard is extended, not bypassed.
Clause-② (locale keys only) Nine engine.packages.installedApps.* keys in the lazy studio namespace, which has only en.ts and zh.ts. All nine are in both, and the placeholders match ({count}, {name}). No export: PackageManifestRow.dependencies? is an optional member of an app-shell module type, and @object-ui/app-shell is "private": true. The badge's own key stays in the lazy marketplace namespace. check-eager-closure-budget: i18n-locale-en is 60.2 KB of a 60.5 KB ceiling, unchanged.
Changeset @object-ui/app-shell (private) and @object-ui/i18n patch, plus the declaration lines. Each bullet matches the diff, including "never drawn as 'up to date'", "The tie is the one the server's disable door already reads" and the developer-doors list with the Show-all chip.
Existing-test edits PackagesPage.source-12675.test.tsx: the "Show all clears it" case is rewritten to the declared narrowing (no chip on ?source=marketplace), and the guard moves to a new ?source=code case that still clears. No guard is dropped. Two module-top imports pay the CEL helpers' first load outside a clocked window.
Tests Real commands with output: 3 files / 46 tests (16 new, 24, 6), app-shell type-check, and 71/71 derived gates. Eight ablations, each restored to the HEAD blob. Live in Chromium on examples/app-multi-package with a stubbed catalog: A1 (badge, Upgrade lands on /system/marketplace/pkg_multi_core, summary), A2 (no badge), A3 (note, no badge), A4 (module hidden, then shown).
UI strings All nine are in en and zh, the two languages the studio namespace carries.
Docs marketplace-handbook.mdx "each package of a suite as its own row" (made false) is reworded to the folded line in both places. references/ui/page.mdx ("Setup → Packages filtered to Source = marketplace replaces it") stays true. No other page names this list's columns or doors.
Acceptance 1: badge "→ v6.4.0" and a link to the app's marketplace page (pinned; live on the fixture). 2: up to date gives no badge (pinned). 3: catalog unreadable gives the list plus one note, never "up to date" (pinned). 4: one line, expandable to its modules (four pinned in unit tests; one live).
Tier check-governed-merges --pr 34815: NOT governed, 925 lines. Tier S on the register. The seat's contract-review read on the declared narrowing comes before the queue (claim).
CI on this head 66 check-runs: 54 success, 12 skipped, none failed or pending. That includes Test UI 16/16 plus the aggregate, Test Core's planned shards plus the aggregate, Build Docs, Build & E2E UI, Live E2E UI, Type Check UI, Lint UI, every Type Check and Lint family, Check Changeset (both runs), PR-body guards (both runs), Spec property liveness, Check Documentation Links and Governed Surface Queue Guard.

Notes

  1. Out of scope, from the dev: Studio's Packages table clips its Actions column at 1400px. That branch is untouched here, and it is the seat's to file.
  2. updateCandidates groups over all marketplace rows, while the drawn groups also drop system / cloud scopes. A marketplace install of a platform scope is not a real shape, so the two agree in practice. Sharing one scoped list would remove the doubt.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Landing · area o3-C · head 8778a5f

Probe Reading
check-governed-merges.mjs --pr 34815 NOT governed; 925 changed lines (+913/−12) ≤ 3000 → Tier S
Review L1 ACCEPT 6947097720 at 53503c6; the seat read the review face as the locale-only declaration (no schema, no governed path, a UI door move inside private app-shell), so no contract-review-tier read is owed; claim amendment 3 on #34722 says so
CI K was 25, so origin/main was merged in by relay pr_update_branch (clean merge commit, no PR change, ACCEPT kept); on 8778a5f: latest run per check 52 success, 10 skipped, 0 failed; mergeable clean

L1's one should-fix (the module toggle's aria-controls names pkg-modules-<id>, which no element carries) is non-blocking and is left to the seat as a follow-up. State: ready + auto-merge now; on MERGED, #34722 closes via Fixes and its pm:* state label comes off.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 17, 2026 12:08
@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 构建失败 — 先分诊,再决定要不要重排

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

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

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

  • Dogfood Regression Gate (2/3) — 失败步骤: Boot example apps and exercise real user flows

    @objectstack/dogfood:test:  FAIL   isolated  test/activity-text-predicate.dogfood.test.ts > [#21154] a query over activity text or the approval snapshot, by a reader withheld a field of its record > a
      ↳ 失败原因: (这条 FAIL 之后 12 行内没有可识别的原因行 —— 点进 job 看)
    @objectstack/dogfood:test:  FAIL   isolated  test/activity-text-predicate.dogfood.test.ts > [#21154] a query over activity text or the approval snapshot, by a reader withheld a field of its record > a
      ↳ 失败原因: (这条 FAIL 之后 12 行内没有可识别的原因行 —— 点进 job 看)
    @objectstack/dogfood:test:  FAIL   isolated  test/activity-text-predicate.dogfood.test.ts > [#21154] a query over activity text or the approval snapshot, by a reader withheld a field of its record > a
      ↳ 失败原因: @objectstack/dogfood:test: AssertionError: {"object":"sys_activity","records":[],"total":0,"hasMore":false}: expected 200 to be 403 // Object.is equality
    

↳ 失败原因 是判读的关键:超时(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,按失败测试文件聚合):

历史信号:

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

分诊清单:

  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_01WGufziunkXbDT7wUWqfmWz

Re-queued once, head unchanged (8778a5f): the queue build 44080618620 failed on test/activity-text-predicate.dogfood.test.ts, which this PR does not touch; anchor issue #34829 names #34817 as the root, and #34817 has left the queue.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Re-queue, head unchanged (8778a5f): GitHub still reported the PR "in the merge queue" after 6948163615, but no queue build ran for it after 12:20Z, so it was converted to draft (dropping the stale queue entry) and is readied and armed again here. Triage confirmed it was an inherited bystander of #34829 (closed); main is green.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 17, 2026 12:52
Merged via the queue into main with commit d656d62 Nov 17, 2026
64 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-34722-installed-apps-updates branch November 17, 2026 12:52
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Held (converted to draft) under the merge standard the maintainer set at 12:44Z (「只对 nit 级采用」): a PR lands with open findings only when every remaining one is a nit. L1 6947097720 left one should-fix (the module toggle's aria-controls names pkg-modules-<id>, which no element carries), so it is fixed and re-reviewed first. Landing record 6947605496 and the re-queue comments 6948163615 / 6948571391 are superseded.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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

Correction to the comment just above: the hold did not take. The PR had already merged from the queue (see merged_at) before the draft conversion ran, so it is merged with L1 6947097720's one should-fix open (the module toggle's aria-controls names pkg-modules-<id>, which no element carries). That fix goes in a follow-up PR, reported to the seat.

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/l tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

设置 › 已安装应用:有新版本时在这里提示并能直接去升级,不必进应用市场才看得到

2 participants