Skip to content

vinca-gha: keep the workflow 10 KiB under GitHub's size limit - #181

Merged
Tobias-Fischer merged 1 commit into
RoboStack:masterfrom
Tobias-Fischer:feat/max-size-option
Oct 23, 2026
Merged

Tobias-Fischer merged 1 commit into
RoboStack:masterfrom
Tobias-Fischer:feat/max-size-option

Conversation

@Tobias-Fischer

@Tobias-Fischer Tobias-Fischer commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

vinca-gha keeps a workflow under GitHub's 500 KiB limit, but a caller that adds to the file afterwards needs room for that.

RoboStack's rs gha adds a few lines to every job, about 5 KiB for 150 jobs. That put lyrical's 149-job win-64 workflow 442 bytes over the limit (512,442 bytes), and GitHub refused it (RoboStack/robostack run 39937232870).

The generated workflow now stays 10 KiB under the limit (WORKFLOW_SIZE_MARGIN_BYTES). That covers RoboStack's additions with a small buffer. The error message still names GitHub's 500 KiB limit, plus the margin.

All 308 tests pass, and ruff is clean.

🤖 Claude (AI assistant), on behalf of @Tobias-Fischer

🤖 Generated with Claude Code

Room for what callers add to the generated file afterwards: RoboStack adds a
few lines to every job, which put lyrical's 149-job win-64 workflow 442 bytes
over GitHub's 500 KiB limit, and GitHub refused it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Tobias-Fischer Tobias-Fischer changed the title vinca-gha --max-size-kib: keep the workflow under a lower size than GitHub's limit vinca-gha: keep the workflow 10 KiB under GitHub's size limit Oct 23, 2026
@Tobias-Fischer
Tobias-Fischer merged commit d6aa28f into RoboStack:master Oct 23, 2026
3 checks passed
@Tobias-Fischer
Tobias-Fischer deleted the feat/max-size-option branch October 23, 2026 10:18
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