Commit b654faa
committed
Merge TASK-053: cut dispatch over to lookup_v2 and retire v1 resolver
Retires the v1 registered_resources* HTTP dispatch path. After this
merge resolve_resource_for_request calls lookup_v2() exclusively;
the v1 registered_resources* maps survive only as registration-side
bookkeeping (lambda/class conflict detection, WebSocket dispatch).
Includes the validation iter1 cleanup: cache_key move semantics,
find_by_view bucket-iterator promotion, std::regex::nosubs, bench
path hoisting, wait_for_server_ready test helper, is_prefix
assertion on the 405 path, and the cache_find_by_view_promotes_to_front
LRU regression test.
Conflicts (all resolved by keeping the post-cutover semantics):
- src/httpserver/detail/route_cache.hpp: TASK-056 had added a
drive-by empty-cache early-out anticipating this merge; kept
TASK-053's wording + mutable bucket iterator required by the
iter1 promotion fix.
- src/detail/webserver_dispatch.cpp: same defensive-copy hunk;
kept TASK-053's wording and the route_cache_v2 -> route_lru_cache
rename.
- specs/architecture/04-components/route-table.md: combined
TASK-053 implementation status with TASK-056's CWE-407 note.
- specs/tasks/v2-deferred-backlog-plan.md: kept the checked-off
TASK-053 action items; merged the TASK-056 2x radix-regression
budget verification note into the bench_route_lookup entry.
- test/Makefile.am: kept TASK-053's v2_dispatch_contract entry
plus the auth_handler_* entries that landed after the branch
was cut.15 files changed
Lines changed: 1115 additions & 318 deletions
File tree
- specs
- architecture/04-components
- tasks
- unworked_review_issues
- src
- detail
- httpserver/detail
- test
- integ
- unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
79 | 98 | | |
80 | 99 | | |
81 | 100 | | |
| |||
0 commit comments