@andrii_kremlovskyi/playwright-failure-analyzer 0.1.1 → 0.1.2

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.
package/README.md CHANGED
@@ -301,6 +301,10 @@ configuration discovery, and run in an isolated working directory. This limits
301
301
  agent actions; it does not make sensitive evidence safe to disclose. BYOK/provider
302
302
  environment overrides are not forwarded to the owned runtime.
303
303
 
304
+ Session state stays in an owned temporary configuration directory, which is
305
+ removed after the sessions disconnect and the runtime stops. Local login
306
+ configuration is kept separate and is not deleted during analysis cleanup.
307
+
304
308
  Screenshots can be extracted for human inspection, but are not automatically
305
309
  submitted for visual analysis. Global setup/infrastructure errors and failures
306
310
  without trace evidence are not diagnosed by a report-only model fallback.
@@ -314,9 +318,11 @@ npm pack --dry-run
314
318
  npm pack
315
319
  ```
316
320
 
317
- Tests use generated reports and fake model clients. The runtime smoke test starts
318
- the bundled runtime and requests local status only, using a synthetic credential;
319
- it performs no model inference. No real reports or credentials belong in fixtures.
321
+ Tests use generated reports and fake model clients. Real-runtime checks cover
322
+ startup and concurrent session creation/disconnection with both explicit-token
323
+ and separate local-login storage. They use synthetic credentials and an inert
324
+ loopback provider, verify temporary-state cleanup, and make no model inference
325
+ requests. No real reports or credentials belong in fixtures.
320
326
 
321
327
  Release checks cover Windows (Node 22) and Linux (Node 24), including independent
322
328
  tarball installation, CommonJS/ESM imports, declarations, the executable, and
@@ -97,7 +97,9 @@ async function usingClient(authentication, callback, signal) {
97
97
  disconnect: async () => {
98
98
  if (signal?.aborted)
99
99
  return; // The owned runtime is being forcibly stopped.
100
- await (0, shared_1.withCleanup)(() => session.disconnect(), () => sdk.deleteSession(session.sessionId));
100
+ // deleteSession searches baseDirectory, not the isolated session configDirectory.
101
+ // The owned session files are removed below, after the runtime stops.
102
+ await session.disconnect();
101
103
  },
102
104
  };
103
105
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andrii_kremlovskyi/playwright-failure-analyzer",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Evidence-based Playwright failure analysis with GitHub Copilot, for local tools and CI",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",