@norskvideo/ctl-dev-kit 0.2.9 → 0.2.11
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/conventions/integration.yml +13 -0
- package/conventions/smoke.yml +11 -3
- package/package.json +5 -5
|
@@ -283,6 +283,18 @@ jobs:
|
|
|
283
283
|
NORSK_CTL_BINARY: ${{ runner.temp }}/norsk-ctl
|
|
284
284
|
NORSK_LICENSE_FILE: ${{ runner.temp }}/norsk-license.json
|
|
285
285
|
NORSK_LAUNCHED_MANIFEST: ${{ runner.temp }}/norsk-launched-instances
|
|
286
|
+
# Where the harness copies each instance's engine logs and — since
|
|
287
|
+
# ctl-test-harness 0.1.60 — its CONTAINER logs, before teardown removes
|
|
288
|
+
# the containers. The studio container's stdout is the only place
|
|
289
|
+
# "Refusing to run workflow" and the runner's own startup appear, and
|
|
290
|
+
# every gate failure that pointed at `docker logs <instance>-studio-1`
|
|
291
|
+
# was pointing at something already destroyed.
|
|
292
|
+
#
|
|
293
|
+
# Keyed on run id + attempt because these runners are SHARED between
|
|
294
|
+
# repos: a bare $RUNNER_TEMP/norsk-logs is one directory nothing clears,
|
|
295
|
+
# and the first artifact built that way carried ten of another product's
|
|
296
|
+
# instances alongside its own three. Same shape the test-temp base uses.
|
|
297
|
+
NORSK_CI_LOG_DIR: ${{ runner.temp }}/norsk-logs-${{ github.run_id }}-${{ github.run_attempt }}
|
|
286
298
|
run: |
|
|
287
299
|
set -euo pipefail
|
|
288
300
|
suite() {
|
|
@@ -321,6 +333,7 @@ jobs:
|
|
|
321
333
|
path: |
|
|
322
334
|
${{ runner.temp }}/integration.log
|
|
323
335
|
test-results/
|
|
336
|
+
${{ runner.temp }}/norsk-logs-${{ github.run_id }}-${{ github.run_attempt }}
|
|
324
337
|
retention-days: 7
|
|
325
338
|
if-no-files-found: warn
|
|
326
339
|
|
package/conventions/smoke.yml
CHANGED
|
@@ -265,10 +265,18 @@ jobs:
|
|
|
265
265
|
NORSK_LICENSE_FILE: ${{ runner.temp }}/norsk-license.json
|
|
266
266
|
# Where the harness copies each instance's full engine logs
|
|
267
267
|
# (/var/log/norsk -> debug.json, host-mounted under the store) before
|
|
268
|
-
# teardown nukes them
|
|
268
|
+
# teardown nukes them, plus — since ctl-test-harness 0.1.60 — each
|
|
269
|
+
# instance's CONTAINER logs, which is the only copy of the studio
|
|
270
|
+
# container's stdout. Uploaded below. `docker logs` only sees the
|
|
269
271
|
# notice+ stdout subset and a decode-error flood can drown its tail;
|
|
270
272
|
# this is the complete structured log at every level.
|
|
271
|
-
|
|
273
|
+
#
|
|
274
|
+
# Keyed on run id + attempt because these runners are SHARED between
|
|
275
|
+
# repos: a bare $RUNNER_TEMP/norsk-logs is one directory nothing clears,
|
|
276
|
+
# so a job uploaded whatever earlier jobs had left in it (observed: one
|
|
277
|
+
# product's artifact carrying ten of another's instances). Same shape the
|
|
278
|
+
# test-temp base uses, for the same reason.
|
|
279
|
+
NORSK_CI_LOG_DIR: ${{ runner.temp }}/norsk-logs-${{ github.run_id }}-${{ github.run_attempt }}
|
|
272
280
|
run: |
|
|
273
281
|
# Outer pipefail so the step reports the journey's exit, not tee's --
|
|
274
282
|
# otherwise a failed smoke run over the `| tee` below scores green.
|
|
@@ -315,7 +323,7 @@ jobs:
|
|
|
315
323
|
uses: actions/upload-artifact@v4
|
|
316
324
|
with:
|
|
317
325
|
name: norsk-engine-logs-attempt-${{ github.run_attempt }}
|
|
318
|
-
path: ${{ runner.temp }}/norsk-logs
|
|
326
|
+
path: ${{ runner.temp }}/norsk-logs-${{ github.run_id }}-${{ github.run_attempt }}
|
|
319
327
|
retention-days: 7
|
|
320
328
|
if-no-files-found: ignore
|
|
321
329
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@norskvideo/ctl-dev-kit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./create-product": "./create-product/create-product.ts",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@norskvideo/ctl-oas-to-ts": "^0.1.0",
|
|
38
|
-
"@norskvideo/norsk-sdk": "1.3.1-2026-09-
|
|
39
|
-
"@norskvideo/norsk-studio": "1.30.0-2026-09-
|
|
40
|
-
"@norskvideo/norsk-studio-builder": "1.30.0-2026-09-
|
|
41
|
-
"@norskvideo/norsk-studio-built-ins": "1.30.0-2026-09-
|
|
38
|
+
"@norskvideo/norsk-sdk": "1.3.1-2026-09-30-acca6a9d",
|
|
39
|
+
"@norskvideo/norsk-studio": "1.30.0-2026-09-28-b92e8139",
|
|
40
|
+
"@norskvideo/norsk-studio-builder": "1.30.0-2026-09-28-b92e8139",
|
|
41
|
+
"@norskvideo/norsk-studio-built-ins": "1.30.0-2026-09-28-b92e8139",
|
|
42
42
|
"@playwright/test": "^1.59.0",
|
|
43
43
|
"@types/bun": "latest",
|
|
44
44
|
"@types/cors": "^2.8.17",
|