Zhengchao An
e4da9bd718
refactor(rustfs): move layer-neutral shared types out of server ( #6061 )
...
RemoteAddr, the DependencyReadiness family (DependencyReadiness, ReadinessDegradedReason, DependencyReadinessReport), and convert_ecstore_object_info (with its offset_date_time_to_timestamp helper) are consumed across app, infra, and interface layers but lived under server, so every lower-layer import was an upward app->interface or infra->interface edge the layer guard had to baseline.
They now live in a new layer-neutral rustfs/src/shared_types.rs (classified infra by the guard, making all consumer imports downward or lateral). server::readiness and server::event re-export for their own internals; the eight consumer sites (admin_usecase, bucket_usecase, object_usecase, cluster_snapshot, storage/access, storage/helper, plus the admin handler tests) import from the new home. Pure move: no type, impl, or behavior change.
The regenerated layer-dependency baseline shrinks by exactly eight lines with zero additions — the ratchet's intended direction. The two remaining readiness entries (collect/snapshot fn imports) need the collection machinery itself extracted from server and are left for the issue's PR5 scope.
Ref rustfs/backlog#1834 (PR4).
2026-08-13 12:29:49 +08:00
Zhengchao An
fc927caadd
docs(guards): make the layer-dependency baseline an explicit shrink-only ratchet ( #6053 )
2026-08-13 00:27:19 +00:00
Zhengchao An
4e34f97dd7
feat(kms): converge KMS configuration across nodes after a runtime change ( #5551 )
2026-08-01 05:41:02 +00:00
Zhengchao An
b097c94c59
ci: model server as a composition root ( #5459 )
...
* ci: model server as a composition root
* test(ci): cover server to storage layer flow
2026-07-30 00:52:37 +00:00
Zhengchao An
a22384708e
refactor: decouple server health helpers ( #3923 )
2026-06-26 22:40:22 +08:00
Zhengchao An
15c39db42f
refactor: consolidate storage owner boundary cleanup ( #3921 )
...
* refactor: segment app usecase contracts by domain
* refactor: segment root storage contracts by domain
* refactor: segment root runtime facades by domain
* refactor: segment storage owner consumers by domain
* refactor: route storage owner runtime consumers by domain
* refactor: make storage owner rpc imports explicit
* refactor: remove storage owner wildcard imports (#3917 )
* refactor: make storage owner root exports explicit (#3918 )
* refactor: route storage facades through owner api (#3919 )
* refactor: finalize storage owner phase branch
2026-06-26 22:18:00 +08:00
Zhengchao An
92c50156a3
refactor: centralize runtime source boundaries ( #3899 )
2026-06-26 13:22:00 +08:00
Zhengchao An
19c925c480
refactor: expand storage api boundaries ( #3886 )
...
* refactor: route root storage contracts
* refactor: expand storage api boundaries
2026-06-26 04:19:02 +08:00
Zhengchao An
33b7f48f37
refactor: route root storage facades ( #3867 )
2026-06-25 23:23:45 +08:00
Zhengchao An
60c00f7622
refactor: route app and admin storage helpers ( #3863 )
...
* refactor: route admin storage helper imports
* refactor: route app storage io helper imports
2026-06-25 21:12:51 +08:00
Zhengchao An
3942186f3d
refactor: route app storage helper imports ( #3856 )
2026-06-25 18:10:49 +08:00
Zhengchao An
a21f3c1a3f
refactor: route app s3 api helpers ( #3854 )
2026-06-25 16:50:17 +08:00
Zhengchao An
2dd98b1f84
refactor: remove app dto wildcard imports ( #3853 )
2026-06-25 16:07:49 +08:00
Zhengchao An
46fa28f542
refactor: centralize root runtime sources ( #3846 )
2026-06-25 13:19:52 +08:00
Zhengchao An
928074a97d
refactor: centralize server storage runtime sources ( #3843 )
2026-06-25 12:20:53 +08:00
Zhengchao An
839cab47ce
refactor: centralize startup runtime sources ( #3838 )
2026-06-25 11:31:38 +08:00
houseme
cbf526df87
refactor(admin): migrate OIDC consumers to app context ( #3800 )
2026-06-24 12:51:53 +08:00
Zhengchao An
70a2441407
refactor: route notify dispatch through app context ( #3789 )
...
* refactor: route notify dispatch through app context
* refactor: route admin IAM globals through app context (#3791 )
* refactor: centralize IAM root credential access (#3792 )
2026-06-23 20:05:28 +08:00
Zhengchao An
61cfd4fc13
refactor: route runtime consumers through app context ( #3785 )
2026-06-23 17:21:34 +08:00
Zhengchao An
a62e2b6c94
refactor: route action credentials through app context ( #3783 )
2026-06-23 16:29:46 +08:00
houseme
e42c6df0e8
fix(runtime): remove high-impact unwrap paths ( #3755 )
...
* fix(runtime): remove high-impact unwrap paths
* fix(runtime): propagate managed SSE metadata errors
* fix(runtime): add typed OPA config errors
* fix(runtime): harden config and credential helpers
* fix(runtime): remove SSE hmac unwraps
* fix(runtime): complete SSE helper error propagation
* fix(trusted-proxies): avoid legacy global init panics
* test(credentials): allow deprecated rpc token check
* fix(storage): harden object lock retention parsing
* chore(checks): refresh layer dependency baseline
* chore(checks): refresh layer dependency baseline
* Update layer-dependency-baseline.txt
Signed-off-by: houseme <housemecn@gmail.com >
* test(context): avoid clone on copy boot time
---------
Signed-off-by: houseme <housemecn@gmail.com >
Co-authored-by: Zhengchao An <anzhengchao@gmail.com >
Co-authored-by: heihutu <heihutu@gmail.com >
2026-06-23 15:12:47 +08:00
houseme
583a23bdf2
fix(ecstore): replace panic-driven pool and set stubs ( #3753 )
...
* fix(ecstore): replace panic-driven pool and set stubs
* test(runtime): tolerate restricted local bind checks
* fix(ecstore): remove remaining trait stub placeholders
* fix(ecstore): tighten trait stub follow-up semantics
* chore: ignore local worktrees
* chore: update layer dependency baseline for resolve_* context entries
Add 7 accepted infra->app dependency entries introduced by recent
refactoring PRs (#3770 , #3771 , #3772 ) that route global state lookups
through app::context::resolve_* functions.
Co-Authored-By: heihutu <heihutu@gmail.com >
---------
Co-authored-by: heihutu <heihutu@gmail.com >
2026-06-23 12:31:17 +08:00
Zhengchao An
2fe059811a
refactor: route admin topology reads through app context ( #3774 )
...
* refactor: route admin topology reads through app context
* chore: accept app context layer baseline entries
2026-06-23 11:22:20 +08:00
安正超
468fd81a8a
refactor: move startup app context owner ( #3670 )
2026-06-21 01:56:27 +08:00
安正超
ae9d25879d
ci: stabilize architecture layer guard ( #3255 )
2026-06-07 19:26:35 +08:00
安正超
af6c32efac
refactor: improve code quality with safer error handling, trait decomposition, and dead code cleanup ( #1997 )
2026-02-28 01:19:47 +08:00
安正超
a3c76618f3
refactor(ci): add layered dependency guard baseline ( #1977 )
2026-02-26 21:55:45 +08:00