Repository navigation
chore(deps): bump github.com/MicahParks/keyfunc/v3 from 3.9.1 to 3.9.2 in /packages/vm-agent - #2802
Conversation
Bumps [github.com/MicahParks/keyfunc/v3](https://github.com/MicahParks/keyfunc) from 3.9.1 to 3.9.2. - [Release notes](https://github.com/MicahParks/keyfunc/releases) - [Commits](MicahParks/keyfunc@v3.9.1...v3.9.2) --- updated-dependencies: - dependency-name: github.com/MicahParks/keyfunc/v3 dependency-version: 3.9.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
|
@coderabbitai review |
Action not completed
|
|



Release evidence — Claude takeover (task 01M7PX3R4EQ8HWCQEAER9748A3), 2026-11-18
Final release audit completed for
github.com/MicahParks/keyfunc/v3 3.9.2; this replaces the previous PENDING "Final release completion" row.alg(and theusewhitelist) for tokens without akid. Consumer:internal/auth/jwt.go.jwt_dependency_test.godiscriminates between 3.9.1 and 3.9.2.69d717b9) contained all three Go bumps.Staging verification — primary staging, 2026-11-18 (Claude task 01M7PX3R4EQ8HWCQEAER9748A3)
All eight open dependency bumps were deployed together on integration branch
sam/take-over-land-open-9748a3(headf776f2823; merges every PR head, including the #2877 fix pairing@mastra/core1.84.0, plus a regenerated lockfile). Deploy Staging run 44288653931 passed, including smoke tests. Each bump's consumers were exercised:apps/api/src/services/tts-text.ts):POST /api/tts/synthesizefull mode returned 200 with 60,768 bytes of audio; Worker logtts.cleanup_complete(gemma-4 cleanup through the Mastra Agent). Summary mode returned 200summarized: truewith 46,944 bytes;tts.summary_completeon the first attempt (7,118 → 139 chars). Repeat requests hit the cache. The full-mode cleanup needed 3 attempts (two empty LLM results). A local A/B through the same Agent and provider against the real model gave 8/8 non-empty on old deps and 8/8 on new deps, so this is model variance (long reasoning output), not a regression.Agent.stream, tool calls,@mastra/schema-compat1.4.0): a turn streamedthinking×8,tool×2,text×6 anddone. It persisted ascompletedwith the correct answer ("33 projects"). The setting was restored to disabled afterwards.POST /api/projects/:id/environments/:envId/releases): a 51-service compose built from an anchor/alias, with a folded quoted string, parsed and stopped at the image-count limit ("Manifest contains 51 tag-based image references; the configured limit is 50"). An alias bomb returned 400COMPOSE_PARSE_FAILED"Excessive alias count". No release was created.69d717b9): a conversation task on the "Claude Code VM Chat" profile provisioned fresh node01M7Q5HP9AAGVPFXRE8XBZ3ZKD(GCP medium, asia-south1-b, created 11:09:22Z after the deploy, Cloudflare Tunnel). It sent its first heartbeat at 11:12:10Z. The workspace was running at 11:13:04Z, and the Claude agent repliedx86_64 v22.23.5. Terminal access viaPOST /api/terminal/tokenandwss://ws-<id>.sammy.party/terminal/ws, a control-plane JWT validated by keyfunc 3.9.2 in the vm-agent, echoeddeps-ok-42andx86_64. A tampered token was refused (WebSocket close 1006, plain GET 401). Cleanup: workspace deletionconfirmed, node deleted, both 404, D1 rows gone, no nodes left.internal/publish/contextcollect,internal/builder) run only during app publish, which would provision a separate deployment node. They are covered by consumer tests on amd64 and under arm64 emulation (PASS), and by a zstd probe with SAM's exact options: 6–25 MB corpora round-trip, and compressed output is byte-identical on amd64 and arm64.pnpm quality:observability-noise, unchanged defaults 24h/10). Before (09:41Z) and after (11:23Z) show the same 6 pre-existing groups with identical counts (86/67/57/47/33/17). No new group and no increase; pre-existing noise waived per Raphaël 2026-11-18. The Worker tail from 11:10 to 11:24Z had no exceptions; the only error logs wereidle_cleanup.cleanup_failedfor an unrelated session.Bumps github.com/MicahParks/keyfunc/v3 from 3.9.1 to 3.9.2.
Release notes
Sourced from github.com/MicahParks/keyfunc/v3's releases.
Commits
23955c1Apply UseWhitelist and JWK alg checks to JWTs without a kid header (#157)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Independent dependency readiness — 2026-11-17
Owner task
01M7MPMNXSC5RBS7JNA8V6A11Gcontinues terminal batch01M7J4DRVF3H4CF5Y5905NJ2AWunder current PR Shepherd assignment. All filtered association pages, exact URL/branch owners, comments/reviews/threads reconciled; no human hold or competing implementation. Preserve original branch/history; no force push. Predecessor serial plan behind #2796 superseded; readiness proceeds independently.Candidate
0488cd98128d95e4e48830ec4aa6075f57b5cde7retains keyfunc3.9.1→3.9.2 and adds a focused security regression. Primary release, security advisory and upstream patch reviewed. The advisory concerns a configured UseWhitelist, which SAM's NewDefaultCtx call does not set; no demonstrated SAM whitelist exploitability is claimed. The patch also enforces JWK algorithm matching for tokens without kid. Existing EdDSA/RS256 restriction, audience, issuer and identity checks remain. Toolchain/transitive pins, production auth code and resource/scheduling/concurrency defaults unchanged.Validation
Go1.26.11: original auth46/46 and selected auth-consuming server293/293 cases PASS with race detector; vet PASS;
go build ./...linux/amd64 and linux/arm64 PASS. Final full auth suite including new test51/51PASS with race detector; final vet PASS.internal/auth/jwt_dependency_test.goexercises the real HTTP JWKS→NewJWTValidator→ValidateNodeManagementToken path. Matching and mismatched JWK algorithms are covered with and without kid; normal keyed and keyless valid tokens preserve identity. New keyfunc3.9.2 passes all4subcases. Temporarily selecting3.9.1 causes exactly the mismatched-algorithm/no-kid subcase and parent to fail (accepted conflicting algorithm); other3subcases pass. Module and checksum files were restored exactly afterward. No private key or token printed. This is local real-library evidence, not real VM staging.Specialist Review Evidence
/root/review_go_deps)/root/review_go_deps)/root/review_go_deps, follow-up)internal/publish/contextcollect,internal/builder,internal/auth; build/vet/-racetests pass. LOW notes only (test string-replace guard; pre-existing JWKS context cancel filed as idea 01M7Q0KCPTT8T2PMBH43634QEH).kidkey selection (GHSA-29f5-h73v-w8j9); SAM tokens always carrykid+ RS256;jwt_dependency_test.gofails on 3.9.1 and passes on 3.9.2.Remaining acceptance gates
Both staging queues inspected, other owners preserved. No old unsafe deploy workflow, secret readback/copying, repeated noise test or default change. #2841 owner contacted. Shared staging2 repair owner
01M7M1Z52NCHWC4B3VPDVXJP5Fretains canonical Idea01M7KE1VAKJTKGV21CAAK6MQMG, full historical cutoff2026-11-18T08:25:48.635Z and08:27Z recheck. This does not replace this PR's own real-VM staging. No merge or production release claimed.Agent Preflight (Required)
Classification
External References
Primary upstream releases, intermediate versions and comparisons linked in readiness evidence were reviewed against actual SAM consumers before follow-up edits. No new provider or speculative migration.
Codebase Impact Analysis
packages/vm-agent/go.modandgo.sumupdate keyfunc and add an actual JWKS/validator algorithm-enforcement regression. Scope is this dependency update plus directly relevant validation. Public APIs, scheduler/resource/concurrency defaults and credential policies remain intact.Documentation & Specs
N/A: no public API, user flow or configuration contract changes. Compatibility, test and release evidence is maintained in this original PR body.
Constitution & Risk Check
PrinciplesII/VI preserve test and release gates; X bounds scope; XI introduces no runtime values. Security tests use synthetic local keys only and print no tokens. Real leased staging remains required; pending checks are not reported as success.
CodeRabbit Review Evidence
Label workflow44084517376 skipped for the Dependabot author. One trusted-main fallback 44084670939 completed successfully. CodeRabbit reply at2026-11-17T12:42:09Z explicitly says Review skipped / Action not completed. Best-effort wait ends on this skip; no submitted review or findings received, no retrigger or waiver. Any actual review arriving before merge remains binding.
E2E smoke 44084298708 passed both worker and mock checks on0488cd98128d95e4e48830ec4aa6075f57b5cde7. This automated smoke does not replace the required real VM provisioning/heartbeat/access/cleanup validation. Main CI44084298709 and final release audit remain incomplete.
Additional CI blocker — existing clock-fixture repair
API shard2/3 job134044850498 reports6017passed/1failed/1skipped. The sole failure is
insights-accounts.test.ts:549, expected quota utilization71 but received0. Existing separate repair PR #2861, head da3ceca, reproduces the same fixture becoming expired against Date.now after November17 noon. Its diff pins the test clock and adds the real expiry control. This Go update changes no TypeScript dependencies or runtime code. The routine blocker is tracked through #2861's existing work; no duplicate implementation or test weakening. Release requires normal main integration after that repair merges and fresh current-head CI.Repair ownership confirmed by SAM task
01M7MMF78GGM7KP899H52D01S3(the #2836 continuation session): it owns #2861, is waiting on full CI44084181929, and will merge on its gates and notify this continuation. No duplicate repair is being performed here.CI disposition and prerequisite clearance — 2026-11-17 16:31 UTC
CI44084298709 on0488cd98128d95e4e48830ec4aa6075f57b5cde7 completed FAILURE. All Go/VM-specific checks, including VM Agent Integration and Go Vulnerability Diff, passed. Four red checks were pending final-release PR Evidence, known clock-fixture API2 and Test/Workers aggregate propagation. Actual Workers aggregate log134063430920 reports test-api=failure/test=failure; Workers shards were skipped by path filter. #2861 confirmed merged13:38:19Z at3702ff1dc0c7eb7ae706bc8e92ea881c6eb89cbc; #2841 confirmed merged16:18:26Z at0c672ddbf698cd59cc4e5f6b4894cf9a4ea8d67f. Both repairs are available on main; this PR has not yet integrated them. Fresh candidate CI and own real-VM gates remain required.
Current candidate after main integration — 2026-11-17 16:35 UTC
Normal history-preserving merge of main0c672ddbf698cd59cc4e5f6b4894cf9a4ea8d67f produced
1018d7d195bdb2a3732e2d35c4ae62d391e8d1b5, including merged #2841 safe deployment and #2861 clock repair. Diff against main remains only keyfunc module/checksum and the74-line JWKS regression. Current-candidate auth race tests51/51PASS; vet PASS; Go1.26.11 linux/amd64 build PASS. Fresh full CI and own real-VM staging/final completion audit remain required. Prior CI failure is historical evidence, not a new-head outcome.New VM integration blocker — 2026-11-17 17:20 UTC
VM Agent Integration job134200478743 failed solely in
TestIntegration_DevcontainerBuildWithAdditionalFeatures: after devcontainer up succeeded, direct docker exec of node --version returned127 because node was absent from PATH. ACP integration passed; E2E smoke, lint, build/typecheck, Go vulnerability diff and API3 passed. The fixture and DefaultAdditionalFeatures are unchanged against main and the prior candidate; this test directly exercises devcontainer CLI0.80.2 and never calls keyfunc. Prior candidate VM Integration134044850738 passed.A focused local Docker reproduction is in progress, with the same CLI and no test relaxation. Existing SAM draft task01M6Y7R8P8TEVKK4QF6SJ5HRQR tracks an intermittent missing-npm Node-feature fixture; the exact filesystem cause of this missing-node failure is not yet established, so no shared-root claim or dependency-regression claim is made. No duplicate implementation, unbounded rerun or merge. This actual red check remains a release blocker.
Focused local reproduction completed PASS in69.87s on the unchanged candidate using devcontainer CLI0.80.2 and real Docker: Node.jsv22.23.5 present, container cleaned up; no source or configuration changes. One failed-job retry request was rejected by GitHub403 because workflow44127399456 is still running/queued. No retry was accepted or executed. After the original workflow becomes terminal, one targeted VM Agent Integration retry may proceed; no repeated requests while it runs and no full-suite rerun loop.
Targeted retry accepted after original CI completed
Original CI44127399456 attempt1 completed FAILURE; inspected final aggregate134243568746 explicitly reports only vm-agent-integration=failure. All actual API, Go vulnerability, VM unit, build/typecheck, quality, volume, secret and E2E checks passed. Final-release PR Evidence is still pending.
After fresh unchanged-head/comments/reviews/threads/all-association-pages/active-owner reconciliation, one targeted retry of failed VM Agent Integration job134200478743 was accepted at 2026-11-17T18:03:05.785790+00:00. The earlier403 request never ran; this is the first accepted retry, following the69.87s local Docker PASS. No source/default/test changes or full-suite rerun. Retry outcome remains pending and blocks release; no repeated retry loop.
Targeted retry result — 2026-11-17T18:23:54.602524+00:00
On unchanged head
1018d7d195bdb2a3732e2d35c4ae62d391e8d1b5, the first accepted targeted VM Agent Integration retry134252687957 passed. The previously failingTestIntegration_DevcontainerBuildWithAdditionalFeaturespassed in65.57s; bootstrap, ACP integration and E2E packages all passed. Final Workers aggregate134258887589 also passed. CI44127399456 attempt2 is terminal FAILURE solely because PR Evidence134252788584 correctly rejects the PENDING final-release completion reviewer. All other applicable current-head checks passed; unrelated path-filtered checks and CodeRabbit were skipped. No further retry or test/source/default changes.Own leased real-VM provisioning with fresh binary identity, heartbeat, access, affected authentication verification and cleanup, shared unchanged24h noise gate, and final completion audit remain release dependencies. No merge or production deployment has occurred.