ci: run the mock estate on the server that reports SYSSITE
Sites / deploy (push) Successful in 4m8s
Build / Build-and-ng-test (pull_request) Successful in 5m7s
Lighthouse Checks / lighthouse (pull_request) Successful in 10m8s
Build / Build-and-test-development (pull_request) Canceled after 19m25s

@sasjs/utils 4.7 makes webout() emit SYSSITE from a configured site id,
defaulting to 123, where %webout takes &syssite. Until 3.13.0 the prelude
wrote an empty string, and dc's client routes an expired licence key and a
wrong-organisation key only when startup_site_id is truthy - so on the mock
estate both pages were unreachable and licensing.cy.ts failed three cases.
This commit is contained in:
dc committed 2026-11-04 10:15:04 +00:00
1 parent 514e326be8
commit ba32d1fa46
4 files changed
+9 -4

No files matched your search

+6 -1
View File
@@ -20,6 +20,11 @@ env:
# packaged-executable fix for the same page, so the version the tests run
# against is the one that ships.
#
# 3.13.0 is the one that matters for licensing: @sasjs/utils 4.7 reports
# SYSSITE, which %webout takes from &syssite. Before it the prelude wrote an
# empty string, so the client - which routes expired and wrong-organisation
# licence keys on that value - never reached those pages on the mock estate.
#
# 3.12.3 is on top of that for a different reason: it is the first release whose
# package.json declares @sasjs/utils ^4.6.0, which is what gives webout() its
# options argument. getdata, viewdata and getcolvals pass { showmeta }, and a
@@ -27,7 +32,7 @@ env:
# members guaranteed here rather than whatever a fresh install happens to
# resolve. requireWeboutOptions in sasjs/mocks/sasjs/services/dcMockUtils.js
# refuses a runtime without it.
SASJS_SERVER_VERSION: '3.12.3'
SASJS_SERVER_VERSION: '3.13.0'
NODE_VERSION: '24.15.0'
jobs:
+1 -1
View File
@@ -11,7 +11,7 @@ concurrency:
env:
# the server the mocked services and app tests run against - bump deliberately
SASJS_SERVER_VERSION: '3.12.3'
SASJS_SERVER_VERSION: '3.13.0'
NODE_VERSION: '24.15.0'
jobs:
+1 -1
View File
@@ -7,7 +7,7 @@ on:
env:
# the server the mocked services and app tests run against - bump deliberately
SASJS_SERVER_VERSION: '3.12.3'
SASJS_SERVER_VERSION: '3.13.0'
NODE_VERSION: '24.5.0'
jobs:
+1 -1
View File
@@ -11,7 +11,7 @@ on:
env:
# the server the mocked services and app tests run against - bump deliberately
SASJS_SERVER_VERSION: '3.12.3'
SASJS_SERVER_VERSION: '3.13.0'
NODE_VERSION: '24.15.0'
APP_LOC: /Public/app/dc
SURFER_HOST: https://demo.datacontroller.io