forge
Explore
Log in

Don't you dare go Hollow

🧪 [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 commit

d079effb9ef8cd6fe2bae325c3e8d9ad5190aac1Ahmet Kaan GümüşParent: 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
Show full message
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
src/lib.rsmodified+2 -0
@@ -166,6 +166,8 @@ pub fn build_router(state: AppState) -> Router {
166166 .nest(
167167 "/insights",
168168 gate(web::insights::routes(), &state, Module::Chatbot),
169+ )
170+ .nest(
169171 "/podcast",
170172 gate(web::podcast::routes(), &state, Module::Chatbot),
171173 )
tests/limits_completeness.rsmodified+16 -0
@@ -145,6 +145,22 @@ const EXCLUDED: &[(&str, &str)] = &[
145145 "deadline on one school-wide recompute; the run's own ledger is \
146146 `zeka_run`, which the client polls",
147147 ),
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+ ),
148164 (
149165 "CHAT_STREAM_POLL_MS",
150166 "server-side poll cadence behind the SSE stream",