slnodejs 6.2.62 → 6.2.69

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
@@ -159,3 +159,27 @@ If you encounter issues:
159
159
  - You're working in a dedicated development environment
160
160
  - You want to reduce command verbosity
161
161
  - You're setting up CI/CD pipelines where all Node.js executions should include the preloader and Sealights Agent
162
+
163
+ ---
164
+
165
+ ## Integration Tests
166
+
167
+ PRs to `main` automatically trigger the JS Agent Integration Tests, which validate the agent works correctly with the plugins and example apps across Node.js 18, 20, and 22.
168
+
169
+ The tests are defined in [`SL.JavaScript.AgentTests`](https://github.com/Sealights/SL.JavaScript.AgentTests) and run via a reusable workflow (`validate-agent.yml`).
170
+
171
+ ### Cross-Repo Branch Resolution
172
+
173
+ When working on a feature that spans multiple repos, create branches with the **same name** across repos. The CI automatically detects matching branches and tests them together.
174
+
175
+ For example, if your PR branch is `feature/new-scanner` and a branch with the same name exists in the Plugins or ExampleApps repos, the integration tests will use those branches instead of the defaults.
176
+
177
+ This is handled via the `feature-branch` input — see the [AgentTests README](https://github.com/Sealights/SL.JavaScript.AgentTests#cross-repo-branch-resolution) for details.
178
+
179
+ ### Manual Dispatch
180
+
181
+ You can also trigger integration tests manually via the **Actions** tab → **JS Agent Integration Tests** → **Run workflow**, with options for:
182
+
183
+ - `plugins-branch` — test against a specific plugins branch
184
+ - `feature-branch` — try this branch in every repo (falls back to defaults where not found)
185
+ - `node-versions` — JSON array of Node.js versions to test
@@ -1093,7 +1093,7 @@ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, gene
1093
1093
  value: true
1094
1094
  });
1095
1095
  exports.SL_AGENT_TYPE = exports.SL_AGENT_VERSION = void 0;
1096
- exports.SL_AGENT_VERSION = '6.2.62';
1096
+ exports.SL_AGENT_VERSION = '6.2.69';
1097
1097
  exports.SL_AGENT_TYPE = 'browser';
1098
1098
  });
1099
1099
 
@@ -4903,6 +4903,7 @@ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, gene
4903
4903
  this.useInitialColor = new config_system_1.BooleanConfigKey(false, true);
4904
4904
  this.gzip = new config_system_1.BooleanConfigKey(false, true);
4905
4905
  this.useIstanbul = new config_system_1.BooleanConfigKey(false, false);
4906
+ this.useLeanCoverageListener = new config_system_1.BooleanConfigKey(false, false);
4906
4907
  this.enableChildProcessPatcher = new config_system_1.BooleanConfigKey(false, false);
4907
4908
  this.loggers = new config_system_1.StringConfigKey(false, '');
4908
4909
  this.httpListeningPort = new config_system_1.NumberConfigKey(false, 0);
@@ -5406,6 +5407,9 @@ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, gene
5406
5407
  static isUseIstanbul() {
5407
5408
  return env_var_parsing_1.EnvVarParsing.parseBoolean(SlEnvVars.USE_ISTANBUL);
5408
5409
  }
5410
+ static isUseLeanCoverageListener() {
5411
+ return env_var_parsing_1.EnvVarParsing.parseBoolean(SlEnvVars.USE_LEAN_COVERAGE_LISTENER);
5412
+ }
5409
5413
  static isBeControlledVersions() {
5410
5414
  return env_var_parsing_1.EnvVarParsing.parseBoolean(SlEnvVars.BE_CONTROLLED_VERSIONS);
5411
5415
  }
@@ -5473,6 +5477,7 @@ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, gene
5473
5477
  SlEnvVars.NEW_UNIQUE_ID = 'SL_newUniqueId';
5474
5478
  SlEnvVars.BASE_PATH = 'SL_basePath';
5475
5479
  SlEnvVars.USE_ISTANBUL = 'SL_useIstanbul';
5480
+ SlEnvVars.USE_LEAN_COVERAGE_LISTENER = 'SL_useLeanCoverageListener';
5476
5481
  SlEnvVars.ENABLE_FOOTPRINTS_V6 = 'SL_footprintsEnableV6';
5477
5482
  SlEnvVars.FOOTPRINTS_COLLECTION_INTERVAL_SECS = 'SL_footprintsCollectIntervalSecs';
5478
5483
  SlEnvVars.FOOTPRINTS_SEND_MAX_INTERVAL_SECS = 'SL_footprintsSendIntervalSecs';