GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — docs(tabs): add new tabs component with more custom styling by tylerslaton · Pull Request #1172 · CopilotKit/CopilotKit Conversation
Contributor
What does this PR do?Adding some more obvious tab styles and adding icon support for them as well. Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
tylerslaton
requested review from
arielweinberger,
ataibarkai,
mme and
ranst91
as code owners
|
There was an error while loading. Please reload this page.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Tyler Slaton <[email protected]>
1fbe6ad to
b710807
Compare
⏭️ Changeset Not RequiredLatest commit: b710807 No changes in this PR affected the Changeset is not required for this PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Preview environments destroyed for this pull request. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Test ResultsStatus: ✅ Passed (View Run) Commit: b710807 Duration: 446.8s Total Tests: 33 Pass Rate: 100.0% Failed Tests: 0 🔍 Detailed Resultscoagents-research-canvasCoAgents Research Canvas (UI) - Local Depenencies
coagents-qa-nativeCoAgents QA Native (UI) - Local
coagents-qa-textCoAgents QA Text (UI) - Local
coagents-routingCoAgents Routing (UI) - Local
next-openaiNext OpenAI - Self Hosted
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…ABI mismatch (#4938) ## Summary Fixes a probabilistic CI failure in the `test / unit` matrix where Node 20.x and 22.x jobs would fail with `Module did not self-register` on `better-sqlite3`. ### Root cause `setup-node`'s built-in `cache: "pnpm"` uses a cache key of `node-cache-Linux-pnpm-{lockfileHash}` — **no Node.js version in the key**. All three matrix jobs (Node 20, 22, 24) share one cache entry. The failure is **probabilistic, not always-present**: - **Cold run (first after cache reset):** all three jobs install fresh and pass. Whichever job finishes first writes its ABI-specific `better-sqlite3` binary to the shared cache key. - **Warm run (all subsequent runs):** all three jobs restore from the same cache entry. Only the job whose Node version matches the cached binary passes. The other two fail. This explains the timing: failures started ~May 19 after the `setup-node` v4→v6 and `pnpm/action-setup` v4→v6 dependabot bumps (May 15, PRs #4857/#4858) reset the cold cache. The first warm run after that was broken for whichever two Node versions didn't win the write race. This is a [known upstream bug in setup-node](actions/setup-node#1171) (issue #1171, fix pending in PR #1172, not yet in any release). ### Fix Replace `cache: "pnpm"` in `setup-node` with a manual `actions/cache` step that scopes the key to the Node.js version: ``` key: ${{ runner.os }}-pnpm-store-${{ matrix.node-version }}-${{ hashFiles('pnpm-lock.yaml') }} ``` Each Node version now has its own isolated pnpm store cache entry. An ABI-137 binary cached by a Node 24 job can never be served to a Node 20 or 22 job. The step uses `$GITHUB_OUTPUT` (scoped step output) instead of `$GITHUB_ENV` per GitHub's security hardening guide. ## Test plan ### Local reproduction (primary evidence) `better-sqlite3` uses classic ABI (`NODE_MODULE_INIT`, not N-API), so its binaries are Node-version-specific. With a Node 24 binary in place, switching to Node 22 without reinstalling reproduces the exact CI failure: ``` # Binary compiled under Node 24 (ABI 137) — works fine: $ node --version && node -e "new (require('better-sqlite3'))(':memory:').prepare('SELECT 1').get()" v24.5.0 { '1': 1 } # Same binary, switched to Node 22 (ABI 127) without reinstalling — fails: $ node-22 -e "new (require('better-sqlite3'))(':memory:')" Error: The module was compiled against a different Node.js version using NODE_MODULE_VERSION 137. This version of Node.js requires NODE_MODULE_VERSION 127. Please try re-compiling or re-installing the module. ``` This is exactly what the shared cache was doing to Node 20/22 jobs: handing them a binary compiled for a different ABI. ### CI validation Two runs on this PR confirm the fix end-to-end: 1. **Cold-cache run** ([26185670340](https://github.com/CopilotKit/CopilotKit/actions/runs/26185670340)): all three jobs install fresh, each writes its own per-version cache entry, all pass. 2. **Warm-cache run** ([26187495270](https://github.com/CopilotKit/CopilotKit/actions/runs/26187495270)): each job restores from its own per-version cache entry — the exact scenario that was previously broken. All pass, with install times dropping from ~22s (cold, downloading) to 7–10s (warm, linking from store), confirming real cache hits were served. | Job | Result | Cache restore | Install | |-----|--------|--------------|---------| | unit (20.x) | ✅ pass | 12s (hit) | 8s | | unit (22.x) | ✅ pass | 12s (hit) | 7s | | unit (24.x) | ✅ pass | 14s (hit) | 10s |
b7108076
Deployed
b7108076
Deployed
b7108076
Deployed
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.