Audit of all license enforcement points found two hard limits that read
checkNoInternet() directly, bypassing HandleCheckLicense:
- SetWorkflowQueue (app runs limit) at db-connector.go:8822/8828
- sub-organization limit check at shared.go:13084
Patches now close all sources of truth:
- checkNoInternet: always return Valid=true with 1e9 limits (closes the
two direct reads above and cloudSync.go app-runs limit)
- IsLicensed: return true (UI 'licensed' flag)
- HandleCheckLicense: unchanged (already forces Licensed + all limits)
Verified: backend image builds successfully via docker.
- Vendor shuffle-shared v1.2.51 as backend/go-app/shuffle-shared
- Add replace directive in go.mod to use the local moduled copy
- In HandleCheckLicense, force org.Licensed=true and set every
SyncFeatures limit to 1e9, skipping all license-key logic
- Update Dockerfile to ADD the local shuffle-shared before go build
- Verified: backend image builds successfully via docker