@blaxel/core 0.2.87-preview.168 → 0.2.87-preview.169

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -117,6 +117,15 @@ export class H2Pool {
117
117
  return session;
118
118
  }
119
119
  if (await this.ping(session)) {
120
+ // ENG-2676 generation/identity pin: `await this.ping` yields, and during
121
+ // that await an eviction listener (goaway/error/close ->
122
+ // attachEvictionListeners, see above) may have deleted or replaced this
123
+ // entry. `entry` is the exact object held in the map, so if it is no
124
+ // longer the cached generation, refuse the now-stale session instead of
125
+ // handing back a zombie — the ENG-2422 failure re-entering through the
126
+ // validate race. The caller falls through to establish a fresh session.
127
+ if (this.sessions.get(domain) !== entry)
128
+ return null;
120
129
  this.markUsed(domain, session);
121
130
  return session;
122
131
  }
@@ -5,8 +5,8 @@ import { authentication } from "../authentication/index.js";
5
5
  import { env } from "../common/env.js";
6
6
  import { fs, os, path } from "../common/node.js";
7
7
  // Build info - these placeholders are replaced at build time by build:replace-imports
8
- const BUILD_VERSION = "0.2.87-preview.168";
9
- const BUILD_COMMIT = "bd5fddf1656456ae916681fa617df50fb584f997";
8
+ const BUILD_VERSION = "0.2.87-preview.169";
9
+ const BUILD_COMMIT = "5357b12d98548db2b306537be7d96d2888ac8cb1";
10
10
  const BUILD_SENTRY_DSN = "https://fd5e60e1c9820e1eef5ccebb84a07127@o4508714045276160.ingest.us.sentry.io/4510465864564736";
11
11
  const BLAXEL_API_VERSION = "2026-04-16";
12
12
  // Cache for config.yaml tracking value