You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(native-pipeline): cap runtime session pile-up under the 6-user trial license
The portable-app runtime runs under a developer/trial license limited to 6
concurrent named users. Every Maestro flow does `launchApp clearState:true`,
which clears device state but opens a FRESH server session that lingers for the
default 10-min SessionTimeout. Widgets whose flow count (+smoke launch +retries)
exceeds 6 therefore wedge mid-suite on the "Maximum number of sessions exceeded"
screen — Precondition can't find the Widgets menu and the shard fails. This hit
background-image (8 flows), safe-area-view (7), accordion (6), and the js-tests
job (mobile-resources 5 + nanoflow 3 = 8); every <=5-flow widget stays green.
Fast-fail un-masked this rather than causing it: the old 4x-retry/long-timeout
config spread a shard's launches past the 10-min window, so early sessions
expired and freed slots before later retries ran (eventual green, just slow).
start-mendix-runtime now shortens the server session idle timeout
(RUNTIME_PARAMS_SESSIONTIMEOUT=60000, via a tunable session-timeout-ms input)
and reaps expired sessions promptly (RUNTIME_PARAMS_CLUSTERMANAGERACTIONINTERVAL
=30000), both ridden through the portable app's existing HOCON env overrides.
At ~30s/flow this holds peak concurrency to ~2-3, well under 6, with no test
changes. Confirmed against run 28168923730's safe-area-view runtime log.
Also reword script/action/workflow comments and the scripts README to describe
the current design instead of narrating what it replaced.
0 commit comments