Commit 5981f91
authored
Rename server package to server-v3 (browserbase#1839)
# why
Nick's PR had both some server-v3 changes and server-v4 changes. I split
it into two prs - just the v3 changes here, and just the v4 changes
[here](browserbase#1840) (WIP).
Then, once I rebased this PR, it's really just one small change to the
node SEA binary stuff.
# test plan
Verified the split with exact file manifests before creating the branch
and ran `pnpm install --lockfile-only --ignore-scripts`.
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Renamed the Stagehand server to `packages/server-v3` and
`@browserbasehq/stagehand-server-v3`. Updated CI, release, tests, and
SEA build logic; no API or runtime changes.
- **Refactors**
- Moved `packages/server` to `packages/server-v3` and renamed the
package to `@browserbasehq/stagehand-server-v3`.
- Updated GitHub workflows (CI, SEA build, release) and artifacts to
`stagehand-server-v3-*`.
- Switched OpenAPI/Stainless references to
`packages/server-v3/openapi.v3.yaml`.
- Updated test discovery/commands and Turbo tasks to target
`@browserbasehq/stagehand-server-v3`; adjusted ESLint, workspace, and
scripts accordingly.
- Hardened SEA build: verify Node binary includes the required fuse,
fall back to the official Node distro when needed, enforce fuse
presence, use `stagehand-server-v3-sea` temp paths, centralize the fuse
value, and add a clear cache recovery hint when the cached Node binary
lacks the fuse.
- **Migration**
- Use `@browserbasehq/stagehand-server-v3` in `pnpm`/Turbo filters and
scripts.
- Run local tasks from `packages/server-v3`.
- For SEA builds/tests, use binaries named
`stagehand-server-v3-<platform>-<arch>` and set `SEA_BINARY_NAME` if
needed.
<sup>Written for commit 645a2e6.
Summary will update on new commits. <a
href="https://cubic.dev/pr/browserbase/stagehand/pull/1839">Review in
cubic</a></sup>
<!-- End of auto-generated description by cubic. -->1 parent 424efa1 commit 5981f91
1 file changed
Lines changed: 27 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
122 | 131 | | |
123 | 132 | | |
124 | 133 | | |
| |||
167 | 176 | | |
168 | 177 | | |
169 | 178 | | |
170 | | - | |
| 179 | + | |
171 | 180 | | |
172 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
173 | 187 | | |
174 | 188 | | |
175 | 189 | | |
176 | 190 | | |
177 | 191 | | |
178 | | - | |
| 192 | + | |
179 | 193 | | |
180 | 194 | | |
181 | 195 | | |
| |||
184 | 198 | | |
185 | 199 | | |
186 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
187 | 206 | | |
188 | 207 | | |
189 | 208 | | |
| |||
208 | 227 | | |
209 | 228 | | |
210 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
211 | 235 | | |
212 | 236 | | |
213 | 237 | | |
| |||
477 | 501 | | |
478 | 502 | | |
479 | 503 | | |
480 | | - | |
| 504 | + | |
481 | 505 | | |
482 | 506 | | |
483 | 507 | | |
| |||
0 commit comments