Skip to content

feat(project-bin): licence-budget gate before a long suite on a trial runtime (#701 ask 5) - #706

Open
MendixMau wants to merge 1 commit into
masterfrom
feat/licence-budget-gate
Open

MendixMau wants to merge 1 commit into
masterfrom
feat/licence-budget-gate

Conversation

@MendixMau

Copy link
Copy Markdown
Owner

Refs #701 (ask 5).

A trial runtime allows 6 sessions and stops itself 2 to 4 h after start. Docs said 'check uptime' but nothing measured it, so a long suite died mid-run and read as a product failure.

  • project-bin/licence-budget.py <root> --runs N --minutes M: reads run-local.json, runtime.log (trial or licensed, last start) and the admin API session count. Exit 0 go, 1 no-go (restart first with bin/app-restart.sh), 2 not measured (never a pass).
  • Installed into projects via the manifest; one line each in load-test.md and ui-loop.md.
  • tests/wave2/test-licence-budget.sh: 3/3 on a fake admin API on a spare port, no real app touched.

Not covered: resuming a harness after a restart (re-login, device context re-sync). Needs a live app to measure.

🤖 Generated with Claude Code

…e window before a long suite (#701)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant