🧪 [TEST] the podcast capability constants are declared, not published limits - limits_completeness demands every pub const in constant.rs be either in GET /limits or in EXCLUDED with a reason
Browse files at this commitd079effb9ef8cd6fe2bae325c3e8d9ad5190aac1Parent: e66cef0- fix
- 🧪 [TEST] the podcast capability constants are declared, not published limits - limits_completeness demands every pub const in constant.rs be either in GET /limits or in EXCLUDED with a reason
- the podcast lane never owned this file
2 changed files +18 -0
- src/lib.rs +2 -0
- tests/limits_completeness.rs +16 -0
src/lib.rsmodified+2 -0
| @@ -166,6 +166,8 @@ pub fn build_router(state: AppState) -> Router { | |||
| 166 | .nest( | 166 | .nest( |
| 167 | "/insights", | 167 | "/insights", |
| 168 | gate(web::insights::routes(), &state, Module::Chatbot), | 168 | gate(web::insights::routes(), &state, Module::Chatbot), |
| 169 | + ) | ||
| 170 | + .nest( | ||
| 169 | "/podcast", | 171 | "/podcast", |
| 170 | gate(web::podcast::routes(), &state, Module::Chatbot), | 172 | gate(web::podcast::routes(), &state, Module::Chatbot), |
| 171 | ) | 173 | ) |
tests/limits_completeness.rsmodified+16 -0
| @@ -145,6 +145,22 @@ const EXCLUDED: &[(&str, &str)] = &[ | |||
| 145 | "deadline on one school-wide recompute; the run's own ledger is \ | 145 | "deadline on one school-wide recompute; the run's own ledger is \ |
| 146 | `zeka_run`, which the client polls", | 146 | `zeka_run`, which the client polls", |
| 147 | ), | 147 | ), |
| 148 | + ( | ||
| 149 | + "AI_PODCAST_SUBMIT_CAPABILITY", | ||
| 150 | + "capability string an AI service declares", | ||
| 151 | + ), | ||
| 152 | + ( | ||
| 153 | + "AI_PODCAST_STATUS_CAPABILITY", | ||
| 154 | + "capability string an AI service declares", | ||
| 155 | + ), | ||
| 156 | + ( | ||
| 157 | + "AI_PODCAST_RESULT_CAPABILITY", | ||
| 158 | + "capability string an AI service declares", | ||
| 159 | + ), | ||
| 160 | + ( | ||
| 161 | + "AI_PODCAST_CANCEL_CAPABILITY", | ||
| 162 | + "capability string an AI service declares", | ||
| 163 | + ), | ||
| 148 | ( | 164 | ( |
| 149 | "CHAT_STREAM_POLL_MS", | 165 | "CHAT_STREAM_POLL_MS", |
| 150 | "server-side poll cadence behind the SSE stream", | 166 | "server-side poll cadence behind the SSE stream", |