Skip to content

Commit c849e33

Browse files
committed
Finalize 1.7.5 release gate cleanup
1 parent e68e6d9 commit c849e33

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

crates/fluxheim-server/src/native_http1_proxy_load_balanced.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ use crate::native_http1_proxy_config::native_http1_static_failover_method_allowe
1010
use crate::native_http1_proxy_error_page::{
1111
native_error_page_response, native_proxy_status_reason,
1212
};
13+
#[cfg(feature = "wasm")]
14+
use crate::native_http1_proxy_memory_cache::NativeProxyCacheKeyComponent;
1315
use crate::native_http1_proxy_memory_cache::{
14-
NativePeerFillDecision, NativeProxyCacheKeyComponent, NativeProxyCacheLookup,
15-
NativeProxyMemoryCache,
16+
NativePeerFillDecision, NativeProxyCacheLookup, NativeProxyMemoryCache,
1617
};
1718
use crate::native_http1_proxy_request::native_proxy_error_is_timeout;
1819
#[cfg(feature = "wasm")]

crates/fluxheim-server/src/native_http1_proxy_memory_cache/slice.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ use crate::native_http1_proxy_cache_slice::{
1414
native_slice_cache_key, native_slice_identity, native_slice_not_satisfiable_response,
1515
native_slice_object_from_entry, native_slice_request_within_policy,
1616
};
17-
#[cfg(feature = "wasm")]
18-
use crate::native_http1_proxy_memory_cache::NativeProxyCacheKeyComponent;
1917
use crate::{NativeHttp1Request, NativeHttp1Response};
2018
use fluxheim_cache::{
2119
CacheRequestView, CacheSliceBounds, request_cache_bypass_reason, resolve_client_slice_ranges,
@@ -29,7 +27,7 @@ impl NativeProxyMemoryCache {
2927
&self,
3028
request: &NativeHttp1Request,
3129
proxy: &NativeHttp1Proxy,
32-
#[cfg(feature = "wasm")] key_components: &[NativeProxyCacheKeyComponent],
30+
#[cfg(feature = "wasm")] key_components: &[super::NativeProxyCacheKeyComponent],
3331
) -> Option<NativeCacheSliceResponse> {
3432
if !self.config.range.enabled || !self.config.range.slice.enabled {
3533
return None;

docs/modularity-exceptions.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Fluxheim Modularity Exceptions
22

3-
Status: baseline inventory for the 1.6 line
3+
Status: baseline inventory for the 1.7 line
44

55
This file records legacy non-generated Rust files above the 500-line target in
6-
[Fluxheim Modularity Policy](modularity-policy.md). The 1.6 line should shrink
7-
this list as Pingora adapters, root orchestration, config, cache, admin, and
8-
proxy code move into focused workspace crates.
6+
[Fluxheim Modularity Policy](modularity-policy.md). The 1.7 line should shrink
7+
this list as the Wasm policy surface settles and large bridge/test modules move
8+
into focused workspace crates.
99

1010
New or newly split files should not be added here unless the same release
1111
documents why the exception is temporary and how it will be removed.
@@ -25,9 +25,10 @@ line adds broader Wasm phases.
2525
| `crates/fluxheim-config/src/config_tests_wasm.rs` | 567 | Wasm validation coverage is intentionally broad for the first live-hook release and now includes the cache-specific process admission ceiling. | Split attachment-order, admission-budget, and reload-classification cases into focused Wasm test modules. |
2626
| `crates/fluxheim-config/src/config_wasm.rs` | 862 | The first live Wasm schema keeps validation, defaults, attachment planning, security-hook admission limits, and cache-hook admission limits together while the API settles. | Split into `config_wasm_limits`, `config_wasm_attachments`, and `config_wasm_validate` modules after 1.7.1 behavior is locked. |
2727
| `crates/fluxheim-wasm/src/manifest.rs` | 502 | Manifest parsing and validation grew with ABI/runtime compatibility checks. | Move manifest validation helpers and tests into focused modules. |
28-
| `crates/fluxheim-server/src/native_http1_proxy_load_balanced.rs` | 590 | The native load-balanced proxy path now carries cache lookup, peer-fill, origin-fill, stale, affinity-cookie, retry orchestration, and bounded Wasm cache-store admission. | Split cache lookup/fill orchestration from load-balanced upstream retry and affinity handling. |
28+
| `crates/fluxheim-server/src/native_http1_proxy_load_balanced.rs` | 624 | The native load-balanced proxy path now carries cache lookup, peer-fill, origin-fill, stale, affinity-cookie, retry orchestration, and bounded Wasm cache-store admission. | Split cache lookup/fill orchestration from load-balanced upstream retry and affinity handling. |
29+
| `crates/fluxheim-server/src/native_http1_proxy_static_dispatch.rs` | 532 | The native static-upstream proxy dispatch path now carries cache lookup, fixed-slice cache lookup, origin-fill, stale, and bounded Wasm cache-store admission. | Split cache lookup/fill orchestration from static upstream dispatch after the cache-policy Wasm ABI settles. |
2930
| `crates/fluxheim-server/src/native_http1_route_proxy_handler.rs` | 591 | The first routing-policy Wasm slice adds final selected-route policy ordering in the central native HTTP/1 handler. | Split normal request, takeover, and Wasm route-decision orchestration into focused handler modules before adding cache-policy Wasm phases. |
30-
| `crates/fluxheim-server/src/native_http1_route_proxy_tests/wasm.rs` | 1589 | Live Wasm hook coverage now includes access decisions, request/response header mutation, rewrite-context behavior, PHP-FPM fallback coverage, configured route decisions, load-balanced route selection, managed-cookie persistence, mirror routing, selected-route policy enforcement, cache-lookup pass/deny behavior, cache-store skip/deny behavior, cache-store deny-wins ordering, and cache admission isolation in one fixture file. | Split access-decision, header-hook, route-decision, load-balancer/persistence, mirror, PHP-FPM fallback, and cache-policy live tests into separate modules before adding deeper cache-policy Wasm phases. |
31-
| `crates/fluxheim-server/src/native_http1_route_wasm.rs` | 1292 | The native hook bridge now owns registry lookup, security-hook admission, cache-hook admission, access decisions, bounded header host calls, bounded route-decision ABI, bounded cache-lookup ABI, and bounded cache-store ABI. | Split header host-call state/mutation helpers, route-decision helpers, and cache-policy helpers into focused `native_http1_route_wasm_headers`, `native_http1_route_wasm_route_decision`, and `native_http1_route_wasm_cache_policy` modules. |
31+
| `crates/fluxheim-server/src/native_http1_route_proxy_tests/wasm.rs` | 2430 | Live Wasm hook coverage now includes access decisions, request/response header mutation, rewrite-context behavior, PHP-FPM fallback coverage, configured route decisions, load-balanced route selection, managed-cookie persistence, mirror routing, selected-route policy enforcement, cache-lookup pass/deny behavior, cache-store skip/deny behavior, cache-store deny-wins ordering, cache admission isolation, cache-key variant isolation, cache-store metadata mutation, and negative host-call coverage in one fixture file. | Split access-decision, header-hook, route-decision, load-balancer/persistence, mirror, PHP-FPM fallback, and cache-policy live tests into separate modules before adding deeper cache-policy Wasm phases. |
32+
| `crates/fluxheim-server/src/native_http1_route_wasm.rs` | 1770 | The native hook bridge now owns registry lookup, security-hook admission, cache-hook admission, access decisions, bounded header host calls, bounded route-decision ABI, bounded cache-lookup ABI, bounded cache-store ABI, and cache metadata aggregation. | Split header host-call state/mutation helpers, route-decision helpers, and cache-policy helpers into focused `native_http1_route_wasm_headers`, `native_http1_route_wasm_route_decision`, and `native_http1_route_wasm_cache_policy` modules. |
3233
| `crates/fluxheim-wasm/src/runtime.rs` | 724 | Runtime construction now includes compile caching, host bindings, compile-slot coordination, and execution policy checks. | Split compile-cache, compile-slot, execution, and host-call helpers into separate runtime submodules. |
3334
| `src/metrics.rs` | 505 | Root metrics compatibility wrappers remain just over the target after native/Wasm additions. | Move remaining Wasm metric wiring into the observability crate or a focused root adapter. |

0 commit comments

Comments
 (0)