Skip to content

refactor(admin-client): decouple ampctl from datasets-common#1887

Merged
LNSD merged 1 commit intomainfrom
lnsd/refactor-ampctl-end-block-decouple
Mar 3, 2026
Merged

refactor(admin-client): decouple ampctl from datasets-common#1887
LNSD merged 1 commit intomainfrom
lnsd/refactor-ampctl-end-block-decouple

Conversation

@LNSD
Copy link
Contributor

@LNSD LNSD commented Mar 3, 2026

Move EndBlock ownership into admin-client so ampctl no longer depends on datasets-common for this type.

  • Add end_block module to admin-client with EndBlock, InvalidEndBlockError, Display, FromStr, Serialize
  • Update datasets.rs to import EndBlock from local module instead of datasets_common
  • Update ampctl deploy command to import EndBlock from amp_client_admin
  • Update integration test fixtures to use amp_client_admin::end_block::EndBlock

…sets-common

Move EndBlock ownership into admin-client so ampctl no longer depends on datasets-common for this type.

- Add `end_block` module to `admin-client` with `EndBlock`, `InvalidEndBlockError`, `Display`, `FromStr`, `Serialize`
- Update `datasets.rs` to import `EndBlock` from local module instead of `datasets_common`
- Update `ampctl` deploy command to import `EndBlock` from `amp_client_admin`
- Update integration test fixtures to use `amp_client_admin::end_block::EndBlock`

Signed-off-by: Lorenzo Delgado <lorenzo@edgeandnode.com>
@LNSD LNSD self-assigned this Mar 3, 2026
@LNSD LNSD requested review from Theodus, mitchhs12 and shiyasmohd March 3, 2026 12:33
@LNSD LNSD merged commit b552ad3 into main Mar 3, 2026
9 checks passed
@LNSD LNSD deleted the lnsd/refactor-ampctl-end-block-decouple branch March 3, 2026 14:51
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.

2 participants