You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI: the PostgreSQL job runs on an image with the pgvector extension #37095
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesci/cddomain:devxDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Filing gate: ③ maintainer-directed (topic child). Source: topic #37000 (phase 2 rows 8 and 9 need a real PostgreSQL with pgvector in CI); maintainer 2026-11-24 「用fable评审,并分拆第二阶段的任务」. Reviewed by an independent Fable pass before filing.
Grading: area:ai · Task · p2 (blocks the topic's store card) · reach: CI · evidence: read.
.github/workflows/ci.yml (the PostgreSQL service at about line 2445, mirror.gcr.io/library/postgres:16): switch to an image that ships the vector extension at the same PostgreSQL major (name the image, its registry reachability from CI, and its pin in the PR).
State whether that job runs on PRs; if not, say how a PR touching packages/plugins/knowledge-pgvector gets a run before merge (path filter, or the merge queue run), and the minutes it adds per month.
Existing PostgreSQL tests keep passing on the new image.
Acceptance
A test doing CREATE EXTENSION IF NOT EXISTS vector and a vector distance query passes in that job.
Blocked-by: none.
Parent: #37000. Reader: domain:devx lane (.github/workflows/** belongs to it by path).
Dedupe: pgvector ci 3 (open 1: a seat post) · pgvector 5 (open: #37000, #37001, a seat post).
Triage: lands in area:ai (kept); rationale: a CI image change. By content it would sit in area:fleet, but it is a topic 专题:知识检索平台化(应用写一份知识源配置就有可用的检索:开源、托管、企业版都能用) #37000 child, the maintainer set it, and dispatch follows the parent. Blocked-by: none.
pm:queue and domain:devx added. Task · p2 kept (it blocks the topic's store card).
repo:objectstack#4 · os-justin · session_01QSeKYpRrYuqSLCvbSk9zrL
Claim: PM loop round 1
Session: session_01QSeKYpRrYuqSLCvbSk9zrL
Account: os-justin
Branch: claude/issue-37095-ci-pgvector
Worktree: objectstack-issue-37095
Domain: domain:devx
Seat: repo:objectstack#4
Area: a4-K
File surface: .github/workflows/ci.yml (the PostgreSQL service image and, only if needed for a PR run, that job's path filter) plus the smallest test that proves CREATE EXTENSION IF NOT EXISTS vector and one vector-distance query in that job, placed in a package that job already runs (named in the report); no adapter code (#37100). Governed (.github/workflows/**), Tier H: draft PR, the maintainer merges; this zone never readies, queues or arms it (stop on breach; explain in the report)
Container & model: S, mode:subagent, model: default (dispatch-gates --repo objectstack-ai/objectstack --tier .github/workflows/ci.yml: "no path-derived mandate"), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7142590498
Premise: holds — origin/main 9c5fb3e.github/workflows/ci.yml:2445 reads image: mirror.gcr.io/library/postgres:16.
Serial constraints cleared: none in flight on .github/workflows/ci.yml from this zone; overlap-check runs before every push.
Pre-claim lane: .github/workflows/** is domain:devx by path; under this zone's lease as an epic #37000 child (seat session's word: triage's "zone a4-A" route reads as a4-K under the lease). Dispatched now on the maintainer's 「37095 派发」, relayed by the seat session.
Pre-claim deps: Blocked-by: none.
Prior rulings read: card's filing gate (maintainer 2026-11-24 「用fable评审,并分拆第二阶段的任务」); AGENTS.md Prime Directive #14 (workflow edits are governed; this repo's workflow diff is read by readWorkflowDiff) and the merge-queue speed budget rule (a PR that changes CI reports the affected job's before/after median as advisory).
State: pm:queue → pm:dispatched in this stroke.
Ruling recorded · 2026-11-24T22:21Z · the dev's first git commit on this card (.github/workflows/ci.yml + a new PG-only test) was refused by the permission check; the dev stopped, no retry. Put to the maintainer in seat repo:objectstack#4's session, whose answer to "allow the re-commit?" is, verbatim: 「放行」.
The dev re-commits without the model-named co-author trailer (commit trailers carry no model id), pushes claude/issue-37095-ci-pgvector and opens a draft PR. Governed path (.github/workflows/**): the PR stays draft; seat L1 and hand-off to the maintainer for approval. The second question — how the job gets one run before merge (A: an operator's workflow_dispatch on the PR branch; B: run it in merge_group when paths hit, reopening #22998; C: none before merge) — is still with the maintainer.
Ruling recorded · 2026-11-24T22:22Z · card What 2, how the PostgreSQL job gets a run before merge. The maintainer in seat repo:objectstack#4's session chose option B, verbatim: 「B:改成「改到相关文件时,合并队列里也跑这个任务」。这会推翻 #22998 的裁决,每次相关合并都多花分钟数。」
The temporal-conformance job (the one with the PostgreSQL service) also runs in merge_group when the merge touches its relevant paths: the knowledge-pgvector package, packages/drivers/driver-sql, the job's own test files and the workflow itself. Merges that touch none of them keep skipping it.
{
"issue": 37095,
"status": "done",
"branch": "claude/issue-37095-ci-pgvector",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37155",
"session": "session_01QSeKYpRrYuqSLCvbSk9zrL",
"premise_still_valid": true,
"summary": "Draft PR #37155 (head da2e1e2252), Tier H, left draft. (1) temporal-conformance's postgres service moves to mirror.gcr.io/pgvector/pgvector:0.8.7-pg16. It is pinned by exact tag per the repo's convention (no workflow pins a digest); the index digest sha256:484e8380…e579f is the same on mirror.gcr.io and Docker Hub and is recorded in the comment. (2) Per the maintainer's ruling B (record 7146156389), the job also runs on merge_group when the entry's diff hits a new temporal_live paths-filter output: knowledge-pgvector/**, driver-sql/**, the metadata-protocol live-mysql/live-postgres files and testkit, runtime's cascade-delete real-driver file, and ci.yml. The output lives in the existing dorny/paths-filter step and fails open; pull_request stays excluded. (3) New PG-only live test in driver-sql (packages/drivers/driver-sql/src/sql-driver-37095-pgvector-extension.test.ts). It is gated by declareDialectCell(PG_CELL) like every live driver-sql file; the job's driver-sql step runs the whole package suite with the URL and the expect flag.",
"tests": "Local PG 16.15 + apt pgvector 0.6.0 (the CI image's 0.8.7 is not exercised locally). With URL + expect flag: new file 2/2 pass and the isolation test 20 pass | 1 skip, VERDICT exit 0. No URL: named skip, exit 0. No URL + expect flag: exit 1 with the named provisioning failure. Negative leg on a server without the extension (vector.control moved aside under a trap, restore confirmed by sha256): exit 1 with 'extension \"vector\" is not available'. driver-sql typecheck exit 0, and the new file is in tsc --listFiles (count 1). No ablation: no tested runtime behaviour changed.",
"gates": "dispatch-gates --commands at da2e1e2252 derived 84 families and all 84 ran: 82 exit 0, 2 exit 3 PREREQUISITE NOT MET (check:dual-build-cjs-loads and check:lean-entry-closure need the whole workspace's dist) = NOT MEASURED locally, CI owns them. --ran with exit codes: '84 derived, 82 run, 2 NOT-MEASURED, 0 UNRUN'. Exit 0 among them: check:required-contexts, check:pm-expected-skips, check:stall-guard-budget, check:stall-guard-headroom, scheduled-full-run.mjs --self-test, check:nul-bytes. check-governed-merges --branch: GOVERNED, tier H(人合); readWorkflowDiff: 'Tier H by content — a uses:/image not used anywhere on the base tree: mirror.gcr.io/pgvector/pgvector:0.8.7-pg16; an existing job no longer holds uses: mirror.gcr.io/library/postgres:16: temporal-conformance; an if: added or changed in a job that already ran: job:temporal-conformance; a uses:/image dropped from the file'. overlap-check: 'VERDICT clean exit 0'. PR check-runs: in_progress at report time.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 relay strokes: pr_create (POST /pulls draft + POST /issues/37155/assignees + POST /issues/37155/labels) and this os-dev-report comment (POST /issues/37095/comments). git push x2 (empty branch; da2e1e2252), which are not REST writes.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": ["carrier: none · noted in Acceptance notes, not filed: docs/qa/platform-checklist/areas/integration-system.json and docs/adr/0104 still name this job's service as postgres:16"]
}
Delivered · PR #37155 merged 2026-11-25T02:40Z as 3b4f0b9832. The maintainer approved it and merged it through the queue; the PR is Tier H.
The pgvector/pgvector:0.8.7-pg16 image is pinned by digest. Temporal Conformance (live PG + MySQL) passed on the merged tree (queue commit 3b4f0b9832, job 138926432317), and on the first queue build (job 138916382931). The second of those runs reports sql-driver-37095-pgvector-extension.test.ts (2 tests) green, which meets the card's acceptance line: "the test passes in that job". The PR comment 7150564342 records the S4 reading.
area:aiAI-native — agent / tool / skill metadata, and the MCP surface an agent drivesci/cddomain:devxDomain lane — seat card indexed by label:pm:seatpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: first touch 2026-11-24T19:46Z
Blocked-by: none.pm:queueanddomain:devxadded. Task · p2 kept (it blocks the topic's store card)..github/workflows/**. The maintainer merges the PR by hand, as its body says.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpRrYuqSLCvbSk9zrL
Claim: PM loop round 1
Session:
session_01QSeKYpRrYuqSLCvbSk9zrLAccount:
os-justinBranch:
claude/issue-37095-ci-pgvectorWorktree:
objectstack-issue-37095Domain:
domain:devxSeat:
repo:objectstack#4Area: a4-K
File surface:
.github/workflows/ci.yml(the PostgreSQL service image and, only if needed for a PR run, that job's path filter) plus the smallest test that provesCREATE EXTENSION IF NOT EXISTS vectorand one vector-distance query in that job, placed in a package that job already runs (named in the report); no adapter code (#37100). Governed (.github/workflows/**), Tier H: draft PR, the maintainer merges; this zone never readies, queues or arms it (stop on breach; explain in the report)Container & model:
S,mode:subagent,model: default (dispatch-gates --repo objectstack-ai/objectstack --tier .github/workflows/ci.yml: "no path-derived mandate"),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7142590498
Premise: holds — origin/main 9c5fb3e
.github/workflows/ci.yml:2445readsimage: mirror.gcr.io/library/postgres:16.Serial constraints cleared: none in flight on
.github/workflows/ci.ymlfrom this zone; overlap-check runs before every push.Pre-claim lane:
.github/workflows/**isdomain:devxby path; under this zone's lease as an epic #37000 child (seat session's word: triage's "zone a4-A" route reads as a4-K under the lease). Dispatched now on the maintainer's 「37095 派发」, relayed by the seat session.Pre-claim deps:
Blocked-by: none.Prior rulings read: card's filing gate (maintainer 2026-11-24 「用fable评审,并分拆第二阶段的任务」); AGENTS.md Prime Directive #14 (workflow edits are governed; this repo's workflow diff is read by
readWorkflowDiff) and the merge-queue speed budget rule (a PR that changes CI reports the affected job's before/after median as advisory).State:
pm:queue→pm:dispatchedin this stroke.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Ruling recorded · 2026-11-24T22:21Z · the dev's first
git commiton this card (.github/workflows/ci.yml+ a new PG-only test) was refused by the permission check; the dev stopped, no retry. Put to the maintainer in seat repo:objectstack#4's session, whose answer to "allow the re-commit?" is, verbatim: 「放行」.The dev re-commits without the model-named co-author trailer (commit trailers carry no model id), pushes
claude/issue-37095-ci-pgvectorand opens a draft PR. Governed path (.github/workflows/**): the PR stays draft; seat L1 and hand-off to the maintainer for approval. The second question — how the job gets one run before merge (A: an operator'sworkflow_dispatchon the PR branch; B: run it inmerge_groupwhen paths hit, reopening #22998; C: none before merge) — is still with the maintainer.objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Ruling recorded · 2026-11-24T22:22Z · card What 2, how the PostgreSQL job gets a run before merge. The maintainer in seat repo:objectstack#4's session chose option B, verbatim: 「B:改成「改到相关文件时,合并队列里也跑这个任务」。这会推翻 #22998 的裁决,每次相关合并都多花分钟数。」
temporal-conformancejob (the one with the PostgreSQL service) also runs inmerge_groupwhen the merge touches its relevant paths: the knowledge-pgvector package,packages/drivers/driver-sql, the job's own test files and the workflow itself. Merges that touch none of them keep skipping it.pull_requeststays excluded as before.ci(temporal-conformance): run the job in the merge queue when its liv…
objectstack-fleet commentedon Nov 24, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpRrYuqSLCvbSk9zrL
os-dev-report
{ "issue": 37095, "status": "done", "branch": "claude/issue-37095-ci-pgvector", "pr": "https://github.com/objectstack-ai/objectstack/pull/37155", "session": "session_01QSeKYpRrYuqSLCvbSk9zrL", "premise_still_valid": true, "summary": "Draft PR #37155 (head da2e1e2252), Tier H, left draft. (1) temporal-conformance's postgres service moves to mirror.gcr.io/pgvector/pgvector:0.8.7-pg16. It is pinned by exact tag per the repo's convention (no workflow pins a digest); the index digest sha256:484e8380…e579f is the same on mirror.gcr.io and Docker Hub and is recorded in the comment. (2) Per the maintainer's ruling B (record 7146156389), the job also runs on merge_group when the entry's diff hits a new temporal_live paths-filter output: knowledge-pgvector/**, driver-sql/**, the metadata-protocol live-mysql/live-postgres files and testkit, runtime's cascade-delete real-driver file, and ci.yml. The output lives in the existing dorny/paths-filter step and fails open; pull_request stays excluded. (3) New PG-only live test in driver-sql (packages/drivers/driver-sql/src/sql-driver-37095-pgvector-extension.test.ts). It is gated by declareDialectCell(PG_CELL) like every live driver-sql file; the job's driver-sql step runs the whole package suite with the URL and the expect flag.", "tests": "Local PG 16.15 + apt pgvector 0.6.0 (the CI image's 0.8.7 is not exercised locally). With URL + expect flag: new file 2/2 pass and the isolation test 20 pass | 1 skip, VERDICT exit 0. No URL: named skip, exit 0. No URL + expect flag: exit 1 with the named provisioning failure. Negative leg on a server without the extension (vector.control moved aside under a trap, restore confirmed by sha256): exit 1 with 'extension \"vector\" is not available'. driver-sql typecheck exit 0, and the new file is in tsc --listFiles (count 1). No ablation: no tested runtime behaviour changed.", "gates": "dispatch-gates --commands at da2e1e2252 derived 84 families and all 84 ran: 82 exit 0, 2 exit 3 PREREQUISITE NOT MET (check:dual-build-cjs-loads and check:lean-entry-closure need the whole workspace's dist) = NOT MEASURED locally, CI owns them. --ran with exit codes: '84 derived, 82 run, 2 NOT-MEASURED, 0 UNRUN'. Exit 0 among them: check:required-contexts, check:pm-expected-skips, check:stall-guard-budget, check:stall-guard-headroom, scheduled-full-run.mjs --self-test, check:nul-bytes. check-governed-merges --branch: GOVERNED, tier H(人合); readWorkflowDiff: 'Tier H by content — a uses:/image not used anywhere on the base tree: mirror.gcr.io/pgvector/pgvector:0.8.7-pg16; an existing job no longer holds uses: mirror.gcr.io/library/postgres:16: temporal-conformance; an if: added or changed in a job that already ran: job:temporal-conformance; a uses:/image dropped from the file'. overlap-check: 'VERDICT clean exit 0'. PR check-runs: in_progress at report time.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 relay strokes: pr_create (POST /pulls draft + POST /issues/37155/assignees + POST /issues/37155/labels) and this os-dev-report comment (POST /issues/37095/comments). git push x2 (empty branch; da2e1e2252), which are not REST writes.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": ["carrier: none · noted in Acceptance notes, not filed: docs/qa/platform-checklist/areas/integration-system.json and docs/adr/0104 still name this job's service as postgres:16"] }Generated by Claude Code
ci(temporal-conformance): revise the two-speeds rule text, widen temp…
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpRrYuqSLCvbSk9zrL
Delivered · PR #37155 merged 2026-11-25T02:40Z as
3b4f0b9832. The maintainer approved it and merged it through the queue; the PR is Tier H.pgvector/pgvector:0.8.7-pg16image is pinned by digest.Temporal Conformance (live PG + MySQL)passed on the merged tree (queue commit3b4f0b9832, job 138926432317), and on the first queue build (job 138916382931). The second of those runs reportssql-driver-37095-pgvector-extension.test.ts (2 tests)green, which meets the card's acceptance line: "the test passes in that job". The PR comment 7150564342 records the S4 reading.temporal_livepath list is hand-kept with no pin to its grep. The seat carries this.pm:dispatchedremoved. Zone a4-K closes out this card.