Repository navigation
In progress
Labels
area:fleetbugSomething isn't workingci/cddomain:devxDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Description
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Filing gate: ① maintainer-directed (2026-11-28 04:11Z, project chat), relayed by seat repo:cloud#5 in mailbox #37784 comment 7233883121: "file cards for the staging deploy timeout", with "do not dispatch yet". This is the framework half. The cloud half is cloud#5195 (raise the build-step timeout), beside cloud#5194 (the pin round brings its base image). Source: fleet.
Grading: area:build · Bug · p2 · reach: every cloud pin round to an objectstack commit that has no published base image; the staging deploy then builds the framework from source and times out · evidence: cloud run 46092448290.
Dedupe: "framework-build-base" → 0 open.
维护者速读
- 问题:cloud 每次把 objectstack 换到新版本时,需要一个预先构建好的基础镜像。这个镜像只在有人手动触发时才发布,上一次是 11 月 9 日。没有镜像时,cloud 只能从源码现场构建:昨天用了 24 分钟,今天超过 30 分钟,测试环境部署因此超时失败。
- 修法:让这个镜像在 main 前进时(或者至少在每次发版、发预发布版时)自动发布,不再需要人手动触发。保留现有的标签不可变规则,同时控制 CI 开销。
- 要你做的:无。这张卡按你的要求先立不派,等你说派再派。
Measured
- cloud
deploy-stagingrun 46092448290 (2026-11-28 01:18Z) hit its 30-minute build step. Cloud's pin ecd10e9 had noghcr.io/objectstack-ai/framework-build-base:<sha>image, so the framework was built from source: 24 minutes on 11-27, over 30 now. .github/workflows/framework-build-base.ymlruns only onworkflow_dispatch(inputsha),repository_dispatch(framework-build-base) and pull requests that touch the file itself. Nothing publishes an image whenmainmoves. The fleet relay cannot dispatch it. The last run was on 11-09.- Cloud reads the image through
scripts/framework-base-image.shandscripts/bump-objectstack.sh, which ask ghcr forframework-build-base:<NEW_SHA>.
Ask
- The base image is published without a human step. Options: on every push to
main, or at least on every commit a downstream pin can take, or on each release andnextpublish. Choose by CI cost, and say why in the PR. - Keep the tag-immutability rules the workflow already has (
rebuild/replace_published). - The PR is Tier H by path (
.github/workflows/**).
Acceptance
- A cloud pin round to a fresh objectstack
maincommit finds its base image already published with no manual dispatch, shown on one real pin round. - Related: cloud#5194, cloud#5195.
Metadata
Metadata
Assignees
Labels
area:fleetbugSomething isn't workingci/cddomain:devxDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 28, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:fleet · domain:devx · Task · p2 · pm:queue · size S; rationale: the
framework-build-baseimage is published only on a manual trigger, so a cloud pin round to a commit without one builds the framework from source and times out the staging deploy (cloud run 46092448290). Auto-publish it withmain. CI and release infrastructure, so area:build → area:fleet, linked under topic #38081. p2. Recorded 2026-11-28T05:14Z.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW
Claim: PM loop round 1
Session:
session_016WV4cxRDKprCtjpEdtiPFWAccount:
os-elon-muskBranch:
claude/issue-38143-base-image-auto-publishWorktree:
objectstack-issue-38143Domain:
domain:devxSeat:
repo:objectstack#1Area:
o1-FFile surface:
.github/workflows/framework-build-base.yml(a trigger that publishesframework-build-base:<sha>without a human step; therebuild/replace_publishedimmutability rules kept)Container & model: S, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility:
.github/workflows/framework-build-base.yml triggers in objectstack | cloud (scripts/framework-base-image.sh, bump-objectstack.sh) | every cloud pin round to a main commit with no published image; cloud run 46092448290 timed out at 30 minThread-read: 7234548085
Premise: holds at bd5407e (the workflow runs on
workflow_dispatch,repository_dispatchand PRs touching itself only)Serial constraints cleared:
no open PR touches framework-build-base.ymlPre-claim lane:
domain:devxper triage 7234548085; stays in this seat (留道). Governed (.github/workflows/**) → Tier H, the PR goes to the seat for the hand-off.Pre-claim deps: none named; the card's "do not dispatch yet" is lifted by the maintainer's 09:59Z words below.
Prior rulings read: the filing order (maintainer 2026-11-28 04:11Z, relayed in mailbox #37784 c7233883121); cloud halves cloud#5194, cloud#5195 (not this repo). Dispatch order: the maintainer, 2026-11-28T09:59Z in the area thread, 「CI 和合并队列 可以派」 (the CI and merge-queue p2 group) and 「并发5」.
objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW
os-dev-report
{ "issue": 38143, "status": "done", "branch": "claude/issue-38143-base-image-auto-publish", "pr": "https://github.com/objectstack-ai/objectstack/pull/38257", "session": "session_016WV4cxRDKprCtjpEdtiPFW", "premise_still_valid": true, "summary": "Premise holds at origin/main e42520c67b: framework-build-base.yml ran only on workflow_dispatch, repository_dispatch and self-touching PRs. Added `on: push: branches: [main]`; a push resolves to github.sha, joins the per-commit concurrency group, and runs the unchanged publish job, so a push never carries rebuild/replace_published and an already-packaged commit builds nothing. Trigger chosen by measured cost: 141 landings/day; releases/next alone package about 1 commit/day and miss arbitrary-commit pins (cloud pinned ecd10e9e, a feature landing); coalescing to the newest head was simulated at about 61 builds/day with head coverage of only 12%; per commit is about 21 runner-min against about 600 runner-min of queue CI per landing (+3.5%). Two header comments the change made false were corrected (the workflow trigger list; Dockerfile line 6 'on demand'), keeping the no-check-families marker on line 44 that dispatch-gates.self-test pins. The card's acceptance (a real cloud pin round finds its image) is owed after merge and is not claimed.", "tests": "No unit-testable code (a YAML trigger). At head 5c22738ac3: the yaml package parses the workflow; on = [push, workflow_dispatch, repository_dispatch, pull_request]; push = {branches:[main]}; the concurrency group and REQUESTED expressions read back as written. actionlint is not installed: NOT MEASURED. No ablation: config only.", "gates": "Local, at 5c22738ac3: dispatch-gates --commands --repo objectstack-ai/objectstack derived 36 families; all 36 run, each exit 0 (captured before any pipe), including pnpm check:pm-dispatch-gates (backgrounded; its log ends '✓ dispatch-gates self-test (fast tier): 2369 cases pass'; the census case reads framework-build-base.yml:44 no-check-families). --ran reconciliation: '36 derived famil(ies) accounted for — 36 run, 0 NOT-MEASURED (a DERIVED zero)'. overlap-check: VERDICT clean exit 0. CI check-runs on PR 38257 are in_progress at report time (including this PR's own verify dry-run job, about 19 min); not waited on, per os-dev.md.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "3 — git push of the branch; one fleet-write relay stroke (POST /repos/objectstack-ai/objectstack/dispatches, run 46135077395: pr_create #38257 with assignees os-elon-musk and labels skip-changeset, read back byte-identical); one os-dev-report comment on #38143 via post-stamped.mjs", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: cloud · noted, not filed — an image is ready about 21 min after its commit lands; a pin round to a younger commit still builds from source unless cloud waits for the image or pins a packaged commit (cloud#5194)", "carrier: none · noted, not filed — registry growth of about 141 images/day, each with a never-deleted digest tag; any retention rule needs its own decision because the workflow header promises digest tags are never deleted", "carrier: none · noted, not filed — builds do not coalesce, so landing bursts run parallel 20-min builds in the shared runner pool; push-run failures show as a non-required failed check on that main commit" ] }objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#1 · os-elon-musk · session_016WV4cxRDKprCtjpEdtiPFW
os-dev-report
{ "issue": 38143, "status": "done", "branch": "claude/issue-38143-base-image-auto-publish", "pr": "https://github.com/objectstack-ai/objectstack/pull/38257", "session": "session_016WV4cxRDKprCtjpEdtiPFW", "head": "1a9c8f4f319f97e5f3152886f082b3549141e5d7", "premise_still_valid": true, "summary": "Rework round for L1 7238213735 and contract record 7238207172. S1, option (a): the workflow header and the PR body now state the true contract, one image per push head (github.sha). Commits inside a multi-commit queue push are packaged by workflow_dispatch / repository_dispatch. The counts are redone per push from ci.yml push-event runs on main for 2026-11-21..27: 692 pushes carrying 984 commits, about 99 pushes a day, about 30% of commits inside a push. N3: head coverage, replayed over push times with a 21-min build, is 24% per push (chosen; every push head gets an image) against 15% coalesced (41% of push heads never get one). N1: storage is about 0.8 GB per build with no shared layers, about 80 GB a day. N2: the publish job condition now begins with github.repository == 'objectstack-ai/objectstack'. The PR body now reads Part of #38143 and adds a line saying the card closes after the first real cloud pin round finds its image, closed by seat 1 (area o1-F). The no-check-families marker stays on line 44.", "tests": "No unit-testable code (a YAML trigger). At head 1a9c8f4f31 the yaml package parses the workflow: on = push,workflow_dispatch,repository_dispatch,pull_request; publish.if = github.repository == 'objectstack-ai/objectstack' && github.event_name != 'pull_request' && github.ref == 'refs/heads/main'. actionlint is not installed: NOT MEASURED. The push and coverage figures come from REST reads of ci.yml push-event runs, plus an offline replay script in the scratchpad.", "gates": "Local, at 1a9c8f4f31. dispatch-gates --commands derived 36 families; 36 run, each exit 0 captured before any pipe. That includes pnpm check:pm-dispatch-gates (EXIT_CODE=0; '2369 cases pass'; the census still reads framework-build-base.yml:44). --ran reconciliation: '36 run, 0 NOT-MEASURED (a DERIVED zero)'. overlap-check against origin/main e2a0e90025: VERDICT clean exit 0, so no merge was needed. The pre-push check:commit-card-trailers passed. CI check-runs on the new head are in_progress at report time; not waited on.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "3 this round. (1) git push of 1a9c8f4f31. (2) One fleet-write relay stroke, run 46138651446: issue_patch of PR #38257's body, read back byte-identical (7171 bytes); the first two attribution lines are kept and the signed: trailer is the last line. (3) This os-dev-report comment on #38143 via post-stamped.mjs.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: cloud · noted, not filed — readiness lag: pushes arrive about every 10 min (median), so the newest head's image is usually still building; inner commits of a push need a dispatch (cloud#5194)", "carrier: the seat (registry retention card, per the coordinator) · noted, not filed — about 80 GB a day of never-deleted digest tags" ] }objectstack-fleet commentedon Nov 28, 2026
triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t
Triage note · read 2026-11-28T13:47Z:
Framework Build Base Imagehas been red on the last two pushes to main. It is the per-push publish that PR #38257 turned on for this card.b5032910(run 46148861891). Red:333e6f3f(run 46149450774) and4cb162bf(run 46150282470).600197a6was still running at the time of this read.Build & push ghcr.io/objectstack-ai/framework-build-base, stepBuild and push:@object-ui/types:buildfails withTS7016: Could not find a declaration file for module '@objectstack/spec/ui'(and/system,/data,/shared). The build reachedpackages/spec/dist/*/index.mjsbut no.d.ts. The image's turbo build then exits 2.333e6f3f). It adds"@object-ui/data-objectstack": "workspace:*"to the devDependencies ofpackages/qa/dogfood/package.json. That pullsui/packages into the image build, although the build runs--filter='!./ui/**'. This is read from the diff and the log, not reproduced.ui/packages it now needs, or the dogfood devDependency changes.