Skip to content

refactor: extract daemon artifact client#744

Merged
thymikee merged 2 commits into
mainfrom
codex/extract-daemon-artifacts
Jun 10, 2026
Merged

refactor: extract daemon artifact client#744
thymikee merged 2 commits into
mainfrom
codex/extract-daemon-artifacts

Conversation

@thymikee

@thymikee thymikee commented Jun 10, 2026

Copy link
Copy Markdown
Member

Summary

Extracts the first #727 daemon-client seam into src/daemon-artifacts.ts: remote artifact upload preparation, artifact output materialization, and remote artifact download now live outside src/daemon-client.ts while daemon-client.ts remains the public facade and re-exports downloadRemoteArtifact.

The PR now targets main after #741 merged. The change touches 3 files and keeps the scope to the artifact seam. No docs or skills were updated because this is an internal refactor with no user-facing CLI/workflow change.

Refs #727

Validation

Focused artifact/client coverage passed with pnpm exec vitest run src/utils/__tests__/daemon-client.test.ts src/__tests__/upload-client.test.ts (42 tests). Broader gates passed with pnpm check:quick, pnpm check:fallow --base origin/main, pnpm format, and git diff --check.

@thymikee thymikee force-pushed the codex/move-daemon-contracts branch 3 times, most recently from dfedaab to 8f00def Compare June 10, 2026 11:55
@thymikee

Copy link
Copy Markdown
Member Author

Review status: this is currently blocked before final code review because GitHub reports the PR as CONFLICTING, and the diff still includes an older copy of the #741 contract-extraction changes. Please rebase/refresh this stacked branch onto the latest codex/move-daemon-contracts head from #741, resolve the conflict, and rerun the focused daemon-client artifact checks plus pnpm check:quick/fallow.

The artifact extraction itself looks directionally mechanical from the sampled diff, but I would not merge or deeply review it until the stack reflects the current #741 shape.

@thymikee thymikee force-pushed the codex/extract-daemon-artifacts branch from d43395a to 9c0a753 Compare June 10, 2026 12:04
@github-actions

github-actions Bot commented Jun 10, 2026

Copy link
Copy Markdown

Size Report

Metric Base Current Diff
JS raw 1.2 MB 1.2 MB +52 B
JS gzip 385.4 kB 385.4 kB +6 B
npm tarball 497.3 kB 497.3 kB +23 B
npm unpacked 1.7 MB 1.7 MB +52 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 27.7 ms 27.9 ms +0.2 ms
CLI --help 44.0 ms 43.3 ms -0.6 ms

Top changed chunks:

Chunk Raw diff Gzip diff
dist/src/9542.js +52 B +6 B

@thymikee thymikee force-pushed the codex/move-daemon-contracts branch from 8f00def to b284e71 Compare June 10, 2026 12:09
Base automatically changed from codex/move-daemon-contracts to main June 10, 2026 12:28
@thymikee thymikee force-pushed the codex/extract-daemon-artifacts branch from 9c0a753 to d40e945 Compare June 10, 2026 12:32
@thymikee thymikee merged commit 712b675 into main Jun 10, 2026
19 checks passed
@thymikee thymikee deleted the codex/extract-daemon-artifacts branch June 10, 2026 12:53
@github-actions

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-06-10 12:55 UTC

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