WS-E convergence: import SDK canonical label constants (eval vs controller-graph weight; gated on #175)

Open
#212 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Quiet
Tech stack
go
Domain
cli

Research direction

Start by reading the seictl seinode package and its existing drift test, then inspect the SDK dependency implications described in this issue. Review sei-k8s-controller#175 before deciding whether to retain local constants or move to a lightweight SDK/api package; done means the tradeoff and chosen path are documented and the relevant dependency and drift-test behavior is covered.

Written by the indexing model from the issue text.

Description

Follow-up to the WS-E SDK landing (sei-k8s-controller#421). seictl's seinode package re-declares the sei.io/role=node / sei.io/seinetwork label constants locally (pinned to the controller's values by a drift test). The SDK is now the canonical home for these.

Decision needed (not a mechanical swap):

  • Importing github.com/sei-protocol/sei-k8s-controller/sdk/sei for the constants pulls the full controller module graph (controller-runtime, reconcilers) into seictl — heavy for a CLI.
  • This is the accepted tradeoff of landing the SDK in the controller repo, and it's exactly what the api/ leaf-module split (sei-k8s-controller#175) would lighten.

Options to evaluate:

  • Keep seictl's local constants + drift test (status quo; zero new dep weight) — possibly the right call for a CLI.
  • After #175 lands, import a lightweight constants package from the SDK/api leaf module.

Gated on / informed by sei-k8s-controller#175. Tracked from the WS-E xreview ledger.

Dominant language
Go
Stars
1
Forks
3
Avg merge
2h 56m
Merged PRs (30d)
14

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sei-protocol/seictl

All issues in sei-protocol/seictl

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.