Skip to content

feat: download and publish selected sticker packs - #31

Merged
9Ashwin merged 2 commits into
mainfrom
codex/issue-6-install-download
Sep 5, 2026
Merged

feat: download and publish selected sticker packs#31
9Ashwin merged 2 commits into
mainfrom
codex/issue-6-install-download

Conversation

@9Ashwin

@9Ashwin 9Ashwin commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Problem

packs install only supported preflight and could not materialize a selected pack for offline use.

Change

  • Implement bounded, cancellable image transfers for local and HTTPS sources with retry handling.
  • Stage and verify each original before acquiring the library write lock.
  • Re-read personal and installed state under an exclusive lock before publishing images and the pack state atomically.
  • Preserve usable prior state on transfer or commit failures and reuse verified staged/original files on retry.
  • Wire the real install path into the CLI while keeping dry-run read-only.
  • Add coverage for selective requests, exact GIF bytes, cancellation, retry reuse, repeat installs, and concurrent publication.

Closes #6

Validation

  • GOTOOLCHAIN=auto go test -race ./...
  • GOTOOLCHAIN=auto go vet ./...
  • GOTOOLCHAIN=auto make quality
  • git diff --check

@9Ashwin
9Ashwin merged commit b480684 into main Sep 5, 2026
3 of 4 checks passed
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