Repository navigation
perf(ci): avoid recompressing release package artifacts - #189910
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR disables outer artifact compression for twelve uploads containing precompressed release packages and associated metadata. Example: Release checks upload openclaw-current.tgz with package-candidate.json.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR makes a focused CI optimization, and source review found no actionable defect. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherRelease workflows produce package archives, upload them through GitHub Actions, and pass artifact identities to validation and publication consumers. flowchart LR
A[Package producers] --> B[Compressed tarballs and metadata]
B --> C[Upload artifact at level zero]
C --> D[GitHub artifact storage]
D --> E[Identity verification and extraction]
E --> F[Release validation and publication]
Technical reviewBest possible solution: Use the existing upload action’s compression input for these precompressed payloads while preserving all producer and consumer contracts. Do we have a high-confidence way to reproduce the issue? Source inspection establishes that the selected uploads currently inherit level 6; no performance reproduction was run during this read-only review. Is this the best way to solve the issue? The diff is the smallest implementation using the existing action owner, with no new machinery or redundant tests. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 04d6904c734a. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceWhat I checked:
PR surfaceConfig +12. Total +12 across 7 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 31, 2026, 9:18 PM ET / November 1, 2026, 01:18 UTC. |
|
Merged via squash.
|
Twelve release uploads contain precompressed package archives and their small metadata. Set upload-artifact's supported compression level to zero to avoid a second compression pass. Keep artifact names, paths, retention, publication ownership and producer/consumer identity checks unchanged.
Validation:
Four raw prepared-package uploads remain excluded because their aggregate size headroom at level zero is unproved. No hosted upload, byte-for-byte outer ZIP comparison, archive method, elapsed-time or billed-minute savings is claimed.
Workflow inputs: +12 lines. Production TypeScript and tests: 0.