dmsolr opened a new pull request, #8007:
URL: https://github.com/apache/shenyu/pull/8007

   ## What this PR does
   
   Adds the Phase-1 **design artifacts** for optional DAG-based plugin 
orchestration (parent proposal #7993). These are documents for community review 
— **no runtime behaviour changes**, no code.
   
   - `docs/plugin-graph-orchestration.md` — the contract: versioned graph 
schema (`GraphData`/`Node`/`Branch`), node & condition semantics 
(PLUGIN/CHOICE/END, first-match + mandatory `defaultTarget`), Phase-1 
structural restrictions that keep path analysis polynomial, graph limits, 
wrapper-scope classes, and the **dual-executor** (LEGACY cursor vs GRAPH 
immutable plan) contract with sequence diagrams. Records explicit decisions for 
the hard cases: repeated continuations/resubscription, mandatory dependencies 
**fail closed**, and **no implicit legacy fallback / no mid-request switch**.
   - `docs/plugin-graph-compatibility-audit.md` — the companion audit: 
classifies **every `PluginEnum`-shipped plugin** into wrapper-scope class + 
continuation behaviour (exactly-once / resubscribing / decorating) + Phase-1 
verdict, with representative deep-dives (global/context init, Sentinel-style 
wrapper, response owner/writer, proxy terminal + retry, `fork()` internal 
dispatch) and the concrete validation rules derived for #7995.
   
   ## Related Issue
   
   Fixes #7994
   Refs #7993
   
   ## Type of change
   
   - [x] Documentation
   
   ## How was this tested
   
   - [x] Docs-only change; cross-links between the two documents and to 
`cache-request-eligibility.md` verified to resolve.
   - [x] Plugin classification grounded in `PluginEnum` and each plugin's 
actual `execute`/`doExecute` chain usage on `master`.
   - [x] `.md` files are covered by RAT `paths-ignore` (no license-header 
gate); Apache header comment added anyway for consistency with existing 
`docs/*.md`.
   
   ## Checklist
   
   - [x] Apache 2.0 license header comment added to new docs
   - [x] No breaking changes to public API / config / DB schema
   - [x] Design artifact for review — explicitly **not** an accepted design 
(per #7993)
   
   ## Notes for reviewers
   
   The parent proposal #7993 is a large architectural feature that is **not yet 
accepted**. This PR only delivers the #7994 review artifact (contract + audit). 
The implementation tasks (#7995 validator/compiler, #7996 runtime, #7998 sync, 
#7999 lifecycle) are tracked separately; #7995 will be stacked on this branch 
so the compiler matches the contract exactly. Open questions for review are 
listed in §18 of the contract and §7 of the audit.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to