Repository navigation
docs(qa): RUNNER's connector self-URL entry follows the compile, not the boot's OS_PORT - #33406
Merged
Merged
Conversation
…s OS_PORT On a --no-compile boot the showcase's declarative connectors dial the port the artifact was compiled with, as self-url.ts's header documents; an exported OS_PORT does not move them. The entry now says so, names the two routes that work (a private-copy compile, safe on a shared checkout; the default compile on the tree, which rewrites the shared artifact), dates the pre-#26130 #25817 reading, and adds the port-shift note: read the bound port from the boot log, not from the shell's OS_PORT. Each route was measured live at e0ce1b5. Claude-Session: https://claude.ai/code/session_01FEkQ5ngu3885adndgvQofR Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FEkQ5ngu3885adndgvQofR Co-authored-by: Claude <noreply@anthropic.com>
Contributor
Author
|
domain:devx#4 · os-project-manager · session_01FEkQ5ooRyyS95kdyC2dPEX 席位核对 · ACCEPT · head
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Leehom · project thread
domain:devx#4 · os-project-manager · session_01FEkQ5ngu3885adndgvQofR
Fixes #33371
Clause-②: no
Metadata-protocol: none
维护者速读
docs/qa/platform-checklist/RUNNER.md里「showcase 自连连接器」那一条。旧文说导出OS_PORT就能修好,新文写明实测事实:连接器地址在编译时定下,--no-compile启动时导出OS_PORT不起作用。两条可行路线都实测过,并写明哪条在共享检出上安全。另补一段端口被占时自动顺延的说明。--no-compile」的规定互相矛盾,照做的跑测会把正确的产品判成 BLOCKED。产品行为与self-url.ts头注释一致,过时的是 RUNNER。RUNNER.md连接器条目里的「Two routes work」两条路线,以及「A held port moves the boot」那一段。pnpm check:platform-checklist,预期退出码 0。What changes
docs/qa/platform-checklist/RUNNER.mdonly:--no-compileboot an exportedOS_PORTdoes not move it. The entry no longer prescribesOS_PORTas the fix there. Instead it says plainly that neitherOS_PORTnorSHOWCASE_SELF_URLis read until the next compile.dist/objectstack.json, so it is only for a checkout no other runner boots.fetch failedimpersonates an egress block. The QA run QA run · release-18.2.0-manual-set (29/29) · 6679644a · 2026-10-25 · 25 PASS / 4 PARTIAL / 0 FAIL / 0 BLOCKED / 0 NOT-RUN #25817 reading (at6679644a) is now dated as pre-cli/dev: on anos devboot withOS_PORTset, served connector metadata reads the build-timebaseUrl(http://127.0.0.1:3000) while dispatch reaches the live port, so/metadisagrees with what runs #26130 and marked as no longer holding. The2889760aparagraph is dropped because the measured entry supersedes it.-palone is not enough" headline is gone:os devexports-pfor its compile (portFlagEnv), and that was measured below.os devtakes the next free port and prints it twice, while the runner's shell keeps itsOS_PORT. Runners should read the port from the boot log.--no-compileentry's QA run · touched:5fb79bc0 (70/147) · ee9ad834 · 2026-11-13 · 56 PASS / 9 PARTIAL / 5 FAIL / 0 BLOCKED / 77 NOT-RUN #33025 sentence now points at the connector entry, and the canonical boot line says a connector run boots a private copy that compiles.self-url.ts, the showcase connectors, the CLI,scripts/qa/**andareas/*.jsonare untouched.Why
At
e0ce1b52the product matchesself-url.ts's own header, which says the metadata is served "as last built" underos dev --no-compile(leg A below). RUNNER's entry was the stale part.Tests — live measurements
All legs ran at
origin/maine0ce1b52afterpnpm build --concurrency=2under the verify lock (VERDICT command-exit 0, 119/119). Each probe signs in as the seeded admin and creates ashowcase_task. It then reads the newest run fromGET /api/v1/automation/showcase_declarative_connector_ping/runs, thenGET /api/v1/meta/connector/showcase_status_api, then/api/v1/healthuptime.baseUrl--no-compile --no-watch -p 41781,OS_PORT=41781exportedOS_PORT(127.0.0.1:3000×4)connector_action(showcase_status_api.request) failed: fetch failedhttp://127.0.0.1:3000cp -aand an absolutenode_modulessymlink), default compile,--no-watch -p 41782,OS_PORT=41782Compiling …once; copy's artifact127.0.0.1:41782×3ping.bodyuptime 7.4 s (health 13.6 s six seconds later)http://127.0.0.1:4178204d18b8a9def596a…, mtime 1794681892 before and after-ponlyOS_PORT/PORTunset,-p 41786127.0.0.1:41786×3http://127.0.0.1:41786-p 41783,OS_PORT=41783127.0.0.1:41784×3http://127.0.0.1:41784--no-watch -p 41785,OS_PORT=41785Compiling …once; the tree's artifact rewrittenhttp://127.0.0.1:41785edbbc9076e31ccf8…, port 41785 baked in ×3The one
127.0.0.1:3000left in a recompiled artifact is the OpenAPI document'sservers[0].url. The artifact's own note says the connector'sbaseUrloverrides it on every dispatch.In leg C the log printed
⚠ Port 41783 is in use — serving on 41784 instead.at line 6, before the compile, and↪ server bound to port 41784 (requested 41783)at line 171.Every boot ran under
setsidand was stopped by its process group, read from the listener; each port was free afterwards. Leg D ran in this dev's own worktree, not a shared one. No ablation was owed: the diff is docs only (os-dev.md).Acceptance notes
skip-changeset:docs/qa/**ships in no package (rootprivate: true).origin/mainafter fix(qa): walled-boot boots --no-compile --no-watch, contributor-member grows --position, RUNNER.md carries the v18.4.0 sweep's environment facts #33367 merged (as98c3a80440). This PR's diff is only this card's two commits.Verification
On head
7ffd1193(merge baseorigin/maine0ce1b52), the derived list fromnode scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackhas 16 commands. Each exit code was captured before any pipe:16 derived, 16 run, all exit 0; --ran reconciliation exit 0
dispatch-gates --ran: "16 run, 0 NOT-MEASURED (a DERIVED zero …)", exit 0. Also:node scripts/check-platform-checklist.mjs --changed-from origin/mainexit 0, and the control-byte scan found 0 hits.No package is touched, so no package build, test, typecheck or scoped lint is owed. Every other family belongs to CI.
Human Minimum
packages/specholds no runtime logic. (n/a)pnpm lintpasses. (no lintable file touched)main, one pull request.skip-changeset)packages/spectouched: its generated artifacts are regenerated and committed. (n/a)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01FEkQ5ngu3885adndgvQofR