Skip to content

fix(github): increase body size limit for floating tag asset sync#9

Merged
urmzd merged 2 commits intomainfrom
fix/floating-tag-body-limit
Mar 30, 2026
Merged

fix(github): increase body size limit for floating tag asset sync#9
urmzd merged 2 commits intomainfrom
fix/floating-tag-body-limit

Conversation

@urmzd
Copy link
Copy Markdown
Owner

@urmzd urmzd commented Mar 30, 2026

Summary

  • Increase the default ureq read_to_vec() limit from 10MB to 512MB so sync_floating_release can download large cross-compiled binaries for re-upload to floating tags
  • Refactor release strategy for maintainability (Pragmatic Programmer review):
    • Merge duplicate glob functions (resolve_glob_patterns + resolve_artifact_globsresolve_globs)
    • Make glob iteration errors hard failures instead of silent swallows
    • Replace Option<VcsProvider> with null object pattern (NoopVcsProvider)
    • Change destructive update_release default (delete+create) to safe error
    • Extract 230-line execute() into focused methods with integrated dry-run
    • Add missing dry-run coverage for push, verify, and sync steps

Test plan

  • cargo check passes
  • cargo clippy -- -D warnings clean
  • cargo fmt --all -- --check clean
  • All 207 tests pass
  • After merge, verify v2 floating tag gets all assets synced

urmzd added 2 commits March 29, 2026 23:52
The default ureq read_to_vec() limit is 10MB, which causes floating tag
asset syncing to fail when release binaries exceed that size. Raises the
limit to 512MB to accommodate large cross-compiled binaries.
- Rename bumped_files → files_to_stage for clarity
- Merge resolve_glob_patterns and resolve_artifact_globs into single resolve_globs
- Make glob iteration errors hard failures instead of silent swallows
- Move NoopVcsProvider to sr-core, replace Option<V> with null object pattern
- Change update_release default from destructive delete+create to safe error
- Extract execute() into focused methods with integrated dry-run support
- Add missing dry-run coverage for push, verify, and sync steps
@urmzd urmzd merged commit 1d0ae8f into main Mar 30, 2026
4 checks passed
@urmzd urmzd deleted the fix/floating-tag-body-limit branch March 30, 2026 05:09
urmzd added a commit that referenced this pull request Mar 30, 2026
fix(github): increase body size limit for floating tag asset sync
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