Skip to content

chore: remove legacy page-view migration code #450

chore: remove legacy page-view migration code

chore: remove legacy page-view migration code #450

Triggered via pull request August 19, 2026 20:42
Status Failure
Total duration 37s
Artifacts 1

reusable-workflows.yml

on: pull_request
Run Web Kit PR Workflow  /  Build and Test
33s
Run Web Kit PR Workflow / Build and Test
Check PR for semantic branch name  /  Check PR for semantic branch name
3s
Check PR for semantic branch name / Check PR for semantic branch name
Check PR for semantic title  /  Check PR for semantic title
2s
Check PR for semantic title / Check PR for semantic title
Check PR for semantic target branch  /  Confirm that target branch for PR is main or build/
5s
Check PR for semantic target branch / Confirm that target branch for PR is main or build/
Notify GChat  /  notify-gchat
Notify GChat / notify-gchat
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
Run Web Kit PR Workflow / Build and Test
Process completed with exit code 1.
test/src/tests.spec.ts > Rokt Forwarder > #processEvent > page view capture > legacy storage migration > does not throw out of selectPlacements when the migration hits a storage error: test/src/tests.spec.ts#L6387
AssertionError: expected "log" to be called with arguments: [ ObjectContaining{…} ] Number of calls: 0 ❯ test/src/tests.spec.ts:6387:26
test/src/tests.spec.ts > Rokt Forwarder > #processEvent > page view capture > legacy storage migration > sweeps the legacy key on SessionEnd before clearing the new key: test/src/tests.spec.ts#L6352
AssertionError: expected [ { …(3) } ] to be null - Expected: null + Received: [ { "pageUrl": "https://example.com/legacy", "sourceMessageId": "legacy-1", "timestamp": 1712345678000, }, ] ❯ test/src/tests.spec.ts:6352:40
test/src/tests.spec.ts > Rokt Forwarder > #processEvent > page view capture > legacy storage migration > keeps the new key and sweeps the legacy key when both exist: test/src/tests.spec.ts#L6312
AssertionError: expected [ { …(3) } ] to be null - Expected: null + Received: [ { "pageUrl": "https://example.com/legacy", "sourceMessageId": "legacy-1", "timestamp": 1712345678000, }, ] ❯ test/src/tests.spec.ts:6312:40
Run Web Kit PR Workflow / Build and Test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
npm-logs
53.1 KB
sha256:8b5671230ae3991137ce04e03d342b00af3c107e3809ca0cdbdd94240ce950c1