Skip to content

Clean publish temp files after upload#1497

Merged
ricardo-devis-agullo merged 1 commit into
masterfrom
cleanup-publish-temp-files
Jun 17, 2026
Merged

Clean publish temp files after upload#1497
ricardo-devis-agullo merged 1 commit into
masterfrom
cleanup-publish-temp-files

Conversation

@ricardo-devis-agullo

Copy link
Copy Markdown
Collaborator

Summary

  • Track the uploaded package tarball and extracted temp directory during registry publish
  • Remove only the current upload's tarball and extracted directory after publishing finishes
  • Add unit coverage for publish cleanup behavior

Test plan

  • npm --prefix packages/oc run build
  • npx --prefix packages/oc mocha packages/oc/test/unit/registry-domain-extract-package.js packages/oc/test/unit/registry-routes-publish.js

Generated with Devin

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@ricardo-devis-agullo ricardo-devis-agullo merged commit 8660727 into master Jun 17, 2026
3 checks passed
@ricardo-devis-agullo ricardo-devis-agullo deleted the cleanup-publish-temp-files branch June 17, 2026 17:32
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