Skip to content

Conversation

@mitchhs12
Copy link
Contributor

Summary

PR 3 of the dump crate split series (final).
Renames the residual dump crate to amp-worker-core and relocates streaming_query into common, completing the decoupling started in #1716 and #1720.

  • Rename crates/core/dump to crates/core/worker-core (package amp-worker-core).
  • Move streaming_query module from dump to common crate so server no longer depends on worker internals.
  • Update all consumer imports (use dump::use amp_worker_core::, use dump::streaming_queryuse common::streaming_query).
  • Remove unused dependencies from worker-core that only streaming_query needed.

Closes #1700

Complete the dump crate split (PR 3/3) by renaming the residual shared
infrastructure to amp-worker-core and relocating streaming_query into
common so server no longer depends on worker internals.

- Rename `crates/core/dump` to `crates/core/worker-core` (package `amp-worker-core`)
- Move `streaming_query` module from dump to `common` crate
- Remove `server` dependency on dump (now uses `common::streaming_query`)
- Update all consumer imports (`use dump::` → `use amp_worker_core::`)
- Remove 6 unused deps from worker-core that only streaming_query needed

Signed-off-by: Mitchell Spencer <mitchellhspencer@gmail.com>
@mitchhs12 mitchhs12 self-assigned this Feb 10, 2026
Align documentation with the completed 3-PR dump crate split by replacing all stale crate names and file paths.

- Replace `crates/core/dump/` paths with `crates/core/worker-core/` or `crates/core/common/` as appropriate
- Remove `crate:dump` from feature doc component metadata since server no longer depends on it
- Add `worker-datasets-raw` and `worker-datasets-derived` to workspace crate listing
- Fix stale `query.rs` source reference in query-sql-batch feature doc

Signed-off-by: Mitchell Spencer <mitchellhspencer@gmail.com>
@mitchhs12 mitchhs12 requested a review from LNSD February 10, 2026 21:00
@LNSD
Copy link
Contributor

LNSD commented Feb 11, 2026

Can we split this PR into 2 smaller PRs? One for moving streaming query logic and another for renaming the crate?

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.

Split dump crate into amp-worker-core, amp-worker-datasets-raw, and amp-worker-datasets-derived

2 participants