Skip to content

chore(effect): bump published provider/sandbox pins to 0.4.16/0.4.19 - #212

Merged
ThomasK33 merged 1 commit into
mainfrom
effect-pins-sep16
Sep 16, 2026
Merged

ThomasK33 merged 1 commit into
mainfrom
effect-pins-sep16

Conversation

@ThomasK33

@ThomasK33 ThomasK33 commented Sep 16, 2026

Copy link
Copy Markdown
Member

Summary

Refresh the private, unpublished Effect bridge to the published Coder releases.

Exact dependency Before After
@coder/ai-sdk-provider 0.4.15 0.4.16
@coder/ai-sdk-sandbox 0.4.18 0.4.19
@ai-sdk/provider 4.0.14 4.0.15

npm view @coder/ai-sdk-provider@0.4.16 dependencies confirms the published provider requires exactly @ai-sdk/provider: 4.0.15.

Scope follows #195/#200/#206: only packages/effect/package.json, pnpm-lock.yaml, pnpm-workspace.yaml, and the three pinned-version rows in packages/effect/README.md change. The two existing release-age exclusions are replaced with exact @coder/ai-sdk-provider@0.4.16 and @coder/ai-sdk-sandbox@0.4.19 entries. This is the explicitly authorized under-24h exception for our own just-released packages; no other exclusion changes.

No other dependency versions, peer ranges, package files, or CHANGELOG.md change. @ai-sdk/provider 4.0.16 and the September 16 18:35Z AI SDK wave remain out of scope. Provider 4.0.15 was published September 15 at 17:21Z and is over 24 hours old.

pnpm why @ai-sdk/provider and pnpm why -r @ai-sdk/provider resolve only 4.0.15. grep -c "@ai-sdk/provider@" pnpm-lock.yaml returns 2: one package entry and one snapshot entry for that version. The unused 4.0.14 entries are removed.

Effect remains private: true and outside release-please-config.json. No published package paths change, so no release PR is expected; release-please will be checked after merge.

Validation

Final tree committed as c9ad73c3188ba53d652e8d955ec95c33dfa6df28, with Node 26.8.2 and pnpm 11.27.0.

  • mise install: passed during initial setup.
  • pnpm format: passed after updating the README rows.
  • Fresh pnpm install --frozen-lockfile: passed, after removing root node_modules and using a new, empty policy-cache directory. pnpm verified 456 entries in 1.9s at 20:32:19Z and wrote one new verdict; no cached policy verification was reused. Package tarballs were reused from the content store.
  • pnpm check: passed (format, lint, typecheck).
  • pnpm -r build: passed.
  • pnpm -r test: 640 passed — agent 369, sandbox 191, effect 45, provider 22, release tooling 13.
  • pnpm publint and pnpm attw: passed.
  • Lockfile checksum unchanged from the tested dependency graph; live e2e 7/7 passed as documented below.

The original two-file revision failed fresh CI because its Coder pins were not exempted. The authorized four-file revision fixes those exclusions and the stale README rows. Both Codex findings are addressed; current-head CI and refreshed code/security verdicts are required before merge.

Fresh-install policy verification

Deleting node_modules alone does not remove pnpm's external policy cache. The fresh run used a process-local, empty cache directory outside the checkout:

cache=$(mktemp -d "$HOME/w37-scratch/effect-pins-sep16/approved-scope/pnpm-cache-XXXXXX")
rm -rf node_modules
CI=true pnpm_config_cache_dir="$cache" mise exec -- pnpm install --frozen-lockfile
ROOT_NODE_MODULES_REMOVED
FRESH_INSTALL_EXIT=0
Verifying lockfile against supply-chain policies (456 entries)...
Lockfile passes supply-chain policies (456 entries in 1.9s)
PASS fresh policy verification; one newly written isolated-cache verdict
pnpm-lock.yaml: OK

Live dogfood

This existing 7/7 live run is retained for the final head: the lockfile and dependency graph are byte-for-byte unchanged by the README/exclusion fixes. It was not rerun.

Ambient authentication was verified with coder whoami against https://dogfood.cdr.dev, server v2.37.1-devel+feca38ec74. No token lifecycle changes were made.

mise install
pnpm install --frozen-lockfile
coder whoami
cd packages/agent
npx vitest run test/e2e

Verification tiers: dependency/release-scope claims verified against registry metadata and repository source; agent behavior verified live against dogfood. The screenshot and 5.28-second video below show the final result from this same live run. The video is an accelerated terminal-output replay, not real-time playback or a second test run. The raw recording spans 39.855 seconds including authentication/setup; Vitest ran for 32.55 seconds and finished at 20:15:10Z. The recorder later timed out waiting for its shell-completion marker, after Vitest and tee had both exited 0. The terminal snapshot independently confirms those exit codes.

Live e2e screenshot, condensed recording, and complete test output

Live dogfood e2e: seven tests passed

live-e2e.webm
RUN  v5.0.1 /home/coder/.mux/src/ai-sdk/effect-pins-sep16/packages/agent

stdout | test/e2e/agent.e2e.test.ts > CoderAgent e2e (live Coder) > emits a coherent transport-event trace for a client-tool turn (#45)
[+     0ms] segment:start 
[+     0ms] http:request GET /api/v2/organizations/703f72a1-76f6-4f89-9de6-8a3989693fe5/chats/models
[+   377ms] http:response GET /api/v2/organizations/703f72a1-76f6-4f89-9de6-8a3989693fe5/chats/models → 200 (377ms)
[+   490ms] http:request POST /api/v2/chats
[+   686ms] http:response POST /api/v2/chats → 201 (197ms)
[+   687ms] ws:dial attempt=1
[+  1059ms] ws:open 
[+  1064ms] ws:event message
[+  1064ms] ws:event status:running
[+  1064ms] ws:event preview_reset
[+  3120ms] ws:event message_part
[+  3195ms] ws:event message_part
[+  3195ms] ws:event message_part
[+  3195ms] ws:event message_part
[+  3195ms] ws:event message_part
[+  3195ms] ws:event message_part
[+  3249ms] ws:event message_part
[+  3600ms] ws:event message_part
[+  3600ms] ws:event message_part
[+  3826ms] ws:event message_part
[+  3826ms] ws:event message_part
[+  3826ms] ws:event message_part
[+  3826ms] ws:event message_part
[+  3878ms] ws:event message
[+  3878ms] ws:event preview_reset
[+  3937ms] ws:event status:requires_action
[+  3937ms] ws:event action_required
[+  3937ms] segment:settle status=requires_action finish=tool-calls (3937ms)
[+  3939ms] segment:start 
[+  3939ms] http:request POST /api/v2/chats/b4cefd25-d53e-4ca5-9427-b079460f6e62/tool-results
[+  4120ms] http:response POST /api/v2/chats/b4cefd25-d53e-4ca5-9427-b079460f6e62/tool-results → 204 (181ms)
[+  4132ms] ws:event message
[+  4132ms] ws:event status:running
[+  4132ms] ws:event preview_reset
[+  4179ms] ws:event preview_reset
[+  5579ms] ws:event message_part
[+  5579ms] ws:event message_part
[+  5816ms] ws:event message
[+  5816ms] ws:event preview_reset
[+  6081ms] ws:event status:waiting
[+  6082ms] ws:close 
[+  6082ms] segment:settle status=waiting finish=stop (2143ms)

 ✓ test/e2e/agent.e2e.test.ts (7 tests) 31762ms
   ✓ CoderAgent e2e (live Coder) (7)
     ✓ generates plain text 2352ms
     ✓ streams text deltas 2673ms
     ✓ round-trips a custom (client-executed) tool 6644ms
     ✓ reuses ONE WebSocket across a multi-tool-step turn (#44) 10310ms
     ✓ emits a coherent transport-event trace for a client-tool turn (#45) 6274ms
     ✓ uploads and downloads a chat file (round-trip) 489ms
     ✓ attaches a file and the model reads its contents 2593ms

 Test Files  1 passed (1)
      Tests  7 passed (7)
   Start at  20:14:38
   Duration  32.55s (tests 98%, transform 2%)
VITEST_EXIT=0 TEE_EXIT=0

Generated with xum • Model: coder:openai/gpt-6-astra • Thinking: xhigh

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-16T20:37:03.411863Z c9ad73c Manual request
🔒 Security Review Completed 2026-09-16T20:38:47.394169Z c9ad73c Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: 4bea52dad4

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4bea52dad4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/effect/package.json
Comment thread packages/effect/package.json
Align the private Effect bridge with published Coder releases and their exact @ai-sdk/provider 4.0.15 dependency. Remove the unused 4.0.14 lockfile entries.

Signed-off-by: Thomas Kosiewski <tk@coder.com>

---
_Generated with [`xum`](https://github.com/coder/xum) • Model: `coder:openai/gpt-6-astra` • Thinking: `xhigh`_

Change-Id: I7b111d2e658f7f2f65babf3afeaec0a2f8caf971
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex security review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: c9ad73c318

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review

Security review completed. No security issues were found in this pull request.

Reviewed commit: c9ad73c318

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@ThomasK33
ThomasK33 added this pull request to the merge queue Sep 16, 2026
Merged via the queue into main with commit 8f7cd03 Sep 16, 2026
7 checks passed
@ThomasK33
ThomasK33 deleted the effect-pins-sep16 branch September 16, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant