Skip to content

Commit e61beb7

Browse files
Version Packages (#1804)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 78311a1 commit e61beb7

67 files changed

Lines changed: 369 additions & 80 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.changeset/request-scoped-execution-stack-build.md‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

‎.changeset/restore-desktop-build-resources.md‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎apps/cli/CHANGELOG.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# executor
22

3+
## 1.6.2
4+
5+
### Patch Changes
6+
7+
- [#1802](https://github.com/UsefulSoftwareCo/executor/pull/1802) [`2afb6e8`](https://github.com/UsefulSoftwareCo/executor/commit/2afb6e86ddf081afb8a246d76291a7ae668e05f4) Thanks [@RhysSullivan](https://github.com/RhysSullivan)! - **Concurrent API requests no longer share one database provider build**
8+
9+
Every HTTP request gets its own database connection, opened when the request fiber's scope opens and closed when it closes. The middleware that builds a request's execution stack, however, captures the boot fiber's context once at layer-construction time and re-applies it to every request. A captured context carries Effect's current memoization map, and re-applying it replaced the fresh per-request map with the boot one — which every in-flight request in the isolate shares.
10+
11+
The per-request stack build then memoized itself there. Sequential requests still rebuilt, because the memo entry is released once the request that built it finishes, so the problem was confined to requests that overlap: the second request reused the first one's stack build, and with it the first one's database connection. A request could therefore issue queries on a connection it did not own, and lose that connection mid-flight when the owner finished and closed it — typically surfacing as a failed read after a slow outbound call, on a request that had already read successfully.
12+
13+
The stack is now built with a request-local memoization scope, so overlapping requests each build their own stack over their own connection. The captured context still carries the long-lived services it exists to carry. The two other per-request provider builds that ran under a captured context — the account provider and the admin-users provider — are built the same way, for the same reason.
14+
15+
- [#1807](https://github.com/UsefulSoftwareCo/executor/pull/1807) [`78311a1`](https://github.com/UsefulSoftwareCo/executor/commit/78311a1ce506705a2420239fd96823203a9a1374) Thanks [@RhysSullivan](https://github.com/RhysSullivan)! - Desktop: restore the macOS signing entitlements and app icon that were accidentally removed from the build inputs, and fail fast at PR time and before publishing when any configured build resource is missing. The v1.6.1 desktop build could not be signed; this release supersedes it.
16+
17+
- Updated dependencies []:
18+
- @executor-js/sdk@1.6.2
19+
- @executor-js/runtime-quickjs@1.6.2
20+
- @executor-js/local@1.6.2
21+
- @executor-js/api@1.4.65
22+
323
## 1.6.1
424

525
### Patch Changes

‎apps/cli/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "executor",
3-
"version": "1.6.1",
3+
"version": "1.6.2",
44
"private": true,
55
"bin": {
66
"executor": "./bin/executor.ts"

‎apps/cloud/CHANGELOG.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# @executor-js/cloud
22

3+
## 1.4.63
4+
5+
### Patch Changes
6+
7+
- Updated dependencies []:
8+
- @executor-js/sdk@1.6.2
9+
- @executor-js/runtime-quickjs@1.6.2
10+
- @executor-js/execution@1.6.2
11+
- @executor-js/plugin-graphql@1.6.2
12+
- @executor-js/plugin-mcp@1.6.2
13+
- @executor-js/plugin-openapi@1.6.2
14+
- @executor-js/api@1.4.65
15+
- @executor-js/vite-plugin@0.0.62
16+
- @executor-js/cloudflare@0.0.44
17+
- @executor-js/host-mcp@1.4.4
18+
- @executor-js/mcp-apps-shell@1.4.13
19+
- @executor-js/runtime-dynamic-worker@1.4.4
20+
- @executor-js/plugin-toolkits@1.5.37
21+
- @executor-js/plugin-workos-vault@0.0.2
22+
- @executor-js/react@1.4.65
23+
324
## 1.4.62
425

526
### Patch Changes

‎apps/cloud/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@executor-js/cloud",
3-
"version": "1.4.62",
3+
"version": "1.4.63",
44
"private": true,
55
"type": "module",
66
"scripts": {

‎apps/desktop/CHANGELOG.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @executor-js/desktop
22

3+
## 1.6.2
4+
35
## 1.6.1
46

57
## 1.6.0

‎apps/desktop/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@executor-js/desktop",
3-
"version": "1.6.1",
3+
"version": "1.6.2",
44
"private": true,
55
"homepage": "https://github.com/UsefulSoftwareCo/executor",
66
"license": "MIT",

‎apps/host-selfhost/CHANGELOG.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# @executor-js/host-selfhost
22

3+
## 0.0.44
4+
5+
### Patch Changes
6+
7+
- Updated dependencies []:
8+
- @executor-js/sdk@1.6.2
9+
- @executor-js/runtime-quickjs@1.6.2
10+
- @executor-js/execution@1.6.2
11+
- @executor-js/plugin-graphql@1.6.2
12+
- @executor-js/plugin-mcp@1.6.2
13+
- @executor-js/plugin-openapi@1.6.2
14+
- @executor-js/app@1.4.4
15+
- @executor-js/analytics@0.1.9
16+
- @executor-js/api@1.4.65
17+
- @executor-js/host-mcp@1.4.4
18+
- @executor-js/mcp-apps-shell@1.4.13
19+
- @executor-js/plugin-encrypted-secrets@0.0.44
20+
- @executor-js/plugin-provider-service-split@0.0.16
21+
- @executor-js/plugin-toolkits@1.5.37
22+
- @executor-js/react@1.4.65
23+
324
## 0.0.43
425

526
### Patch Changes

‎apps/host-selfhost/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@executor-js/host-selfhost",
3-
"version": "0.0.43",
3+
"version": "0.0.44",
44
"private": true,
55
"type": "module",
66
"exports": {

0 commit comments

Comments
 (0)