slnodejs 6.2.62 → 6.2.63

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.63';
1097
1097
  exports.SL_AGENT_TYPE = 'browser';
1098
1098
  });
1099
1099