Skip to content

ci: hold the container to a memory budget - #23

Merged
dinhdev666 merged 2 commits into
mainfrom
feature/ci-memory-budget
Nov 13, 2026
Merged

dinhdev666 merged 2 commits into
mainfrom
feature/ci-memory-budget

Conversation

@dinhdev666

Copy link
Copy Markdown
Owner

The smoke test now runs the container with a 512 MB limit. A proxy that needs more is killed by the kernel, and the health check fails — the budget is enforced instead of parsed.

The test also fails when the container writes anything to stdout, which keeps the "no log files" promise honest in the image itself.

The smoke test now runs the container with a 512 MB limit. A proxy that
needs more is killed by the kernel, and the health check fails — the budget
is enforced instead of parsed.

The test also fails when the container writes anything to stdout, which
keeps the "no log files" promise honest in the image itself.
The `/session` route is project-scoped, so the directory has to be passed.
Without it the answer belongs to another project, and right after an abort it
came back empty — which failed the test on a loaded runner.

An empty body now counts as no sessions, and the wait tolerates a server
that is busy rebuilding its instance.
@dinhdev666
dinhdev666 merged commit f6b1849 into main Nov 13, 2026
4 checks passed
@dinhdev666
dinhdev666 deleted the feature/ci-memory-budget branch November 13, 2026 07:57
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