Skip to content

♻️ Split uploader boundaries#262

Merged
Robdel12 merged 1 commit into
rd/cli-audit-remaining-basefrom
rd/cli-audit-services-uploader
May 18, 2026
Merged

♻️ Split uploader boundaries#262
Robdel12 merged 1 commit into
rd/cli-audit-remaining-basefrom
rd/cli-audit-services-uploader

Conversation

@Robdel12
Copy link
Copy Markdown
Contributor

@Robdel12 Robdel12 commented May 18, 2026

Why

Uploader behavior is a production boundary: it scans files, builds metadata, deduplicates screenshots, uploads batches, waits for builds, and reports progress. The old service-level uploader wrapper made that path harder to review because the real uploader logic and compatibility shim lived in different places.

This PR narrows the uploader cleanup to that boundary. It removes the stale service wrapper and makes the uploader module itself the honest place to review upload behavior and tests.

What Changed

  • Moved uploader behavior to the current src/uploader boundary.
  • Removed the old src/services/uploader.js compatibility module and matching obsolete service test.
  • Expanded uploader tests for core validation, upload orchestration, batching, abort handling, deduplication, and wait behavior.

Verification

  • npm run build
  • node --test tests/uploader/core.test.js tests/uploader/index.test.js tests/uploader/operations.test.js

Stack

7/10 in the CLI audit stack.

Base: rd/cli-audit-server-events
Head: rd/cli-audit-services-uploader

@Robdel12 Robdel12 force-pushed the rd/cli-audit-server-events branch from 4fd0a8a to 9074055 Compare May 18, 2026 19:29
Base automatically changed from rd/cli-audit-server-events to rd/cli-audit-remaining-base May 18, 2026 19:30
Move the uploader implementation and its tests into a focused boundary-cleanup branch.
@Robdel12 Robdel12 force-pushed the rd/cli-audit-services-uploader branch from 4f542ac to 631f78f Compare May 18, 2026 19:31
@Robdel12 Robdel12 merged commit 70de5bb into rd/cli-audit-remaining-base May 18, 2026
@Robdel12 Robdel12 deleted the rd/cli-audit-services-uploader branch May 18, 2026 19: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