UI and end-to-end verification

Aperta
#1,581 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 8 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go, java

Direzione di ricerca

Start with the Phase 6 scope, parent issue #1491, and docs/proposal/mcp-server-proposal.md at §15. Review PR-9 and PR-10 before choosing work, since they cover the management UI and E2E/conformance hardening. Done means the listed UI, conformance, routing, failure, and multi-replica acceptance scenarios pass, with incomplete items recorded as explicit risks.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Parent: #1491

Phase 6: management UI and end-to-end verification. This is the phase after which the MVP is accepted as a whole.

Scope
  • Basic management UI for MCP servers: server and tool configuration, availability state, contract warnings, credential management.
  • MCP conformance tests.
  • Equivalent Nacos/ZooKeeper Resource fixtures.
  • Dual-protocol Java provider end-to-end tests.
  • Multi-replica database testing and hardening.
Acceptance criteria
  • Management UI covers server/tool configuration, displayed availability state, contract warnings and credential lifecycle, and surfaces audit information.
  • The UI displays and copies the mesh-qualified business endpoint from #1580, POST /mcp/{mesh}/{serverId}, with the documented API Key or OAuth Bearer header format.
  • MCP conformance tests pass.
  • Equivalent Nacos and ZooKeeper Resources produce the same catalog, schema, binding, availability and protocol-evidence results.
  • Cross-phase end-to-end scenarios include:
    • tools/list returns the Published schema;
    • a valid call reaches a provider through normal Dubbo routing, once for dubbo and once for tri;
    • taking all providers down keeps the tool listed during the grace period, hides it after the grace period, and a call then returns not-executed; bringing them back restores the tool;
    • a simulated discovery outage yields UNKNOWN, keeps the tool listed and emits a warning rather than blocking on publish;
    • a provider version that no longer exports the target interface still does not hide the tool (documented MVP gap) and the call returns not-executed;
    • unknown nested fields are rejected before dispatch;
    • a 19-digit long survives as a string into the provider;
    • an input DTO change hides only that tool and leaves the sibling tools working until republish;
    • a return-value DTO change affects neither tools/list nor tools/call and only raises a management-page warning;
    • with discovery synchronized and complete protocol evidence for available providers, a tri-only service rejects a dubbo binding; with all providers down, initial synchronization, a discovery outage or incomplete protocol evidence, publish reports a warning instead of inferring protocol incompatibility, as defined in #1578;
    • a response timeout causes no second provider to receive the call, for both dubbo and tri;
    • overrides targeting cluster, retries and method-level retries are tested both before reference creation and after runtime updates: an admitted call dispatches at most once, or an unsafe configuration is rejected before dispatch, for both protocols (#1579);
    • metadata changes without a new Published revision, including added conflicting definitions and deletion of the last definition, are detected after caches have been populated; only the affected Tool fails closed, and equivalent metadata reordering does not trigger false drift (#1576, #1580);
    • same-named Servers in different meshes remain independent in Console CRUD, runtime handlers, caches, credentials and OAuth resource metadata; an API Key cannot cross meshes, and OAuth authorization uses the addressed Server's scopes (#1575, #1577, #1580);
    • API Key and OAuth clients use the documented Bearer scheme against the same mesh-qualified endpoint, and each failed verifier rejects without falling back to the other verifier.
  • Multi-replica: two Admin replicas share one database; revoking a credential on replica A invalidates it on replica B immediately, and two concurrent publishes with the same expected resourceVersion produce exactly one success.
  • Any item not completed must be recorded as an explicit risk rather than assumed to be supported.
PR
  • PR-9: management UI.
  • PR-10: E2E, conformance, multi-replica hardening.

Dependency: Phase 1-5 (PR-1 through PR-8).

Design discussion: #1541. Current phase requirements are maintained in this issue and the related phase issues linked from #1491; the earlier proposal is background.

Lingua principale
Go
Stelle
4.1k
Fork
2.2k
Merge medio
6g 2h
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/dubbo-admin

Tutte le issue di apache/dubbo-admin

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.