@@ -225,8 +225,8 @@ export default defineConfig({
225225 "t3code/no-low-value-comments" : "error" ,
226226 "t3code/no-manual-effect-runtime-in-tests" : "error" ,
227227 "t3code/no-native-title-tooltip" : "error" ,
228- // Test files only (the rule checks the filename). Becomes an error once existing polls are converted.
229- "t3code/no-polling-loop-in-tests" : "warn " ,
228+ // Test files only (the rule checks the filename).
229+ "t3code/no-polling-loop-in-tests" : "error " ,
230230 "t3code/no-raw-mcp-registration" : "error" ,
231231 "t3code/no-real-time-wait-in-tests" : "error" ,
232232 "t3code/no-test-in-loop" : "error" ,
@@ -258,8 +258,26 @@ export default defineConfig({
258258 rules : { "t3code/no-frame-waits-in-browser-tests" : "error" } ,
259259 } ,
260260 {
261- files : [ "**/*.browser.test.*" ] ,
262- rules : { "t3code/no-real-time-wait-in-tests" : "off" } ,
261+ // Burn-down list: these files still have polling loops, so they stay at "warn".
262+ // Remove a file when you convert its loops. New polling loops in all other
263+ // test files fail lint. Do not add new files to this list.
264+ files : [
265+ "apps/mobile/src/features/agent-awareness/remoteRegistration.test.ts" ,
266+ "apps/server/src/background/HostPowerMonitor.test.ts" ,
267+ "apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.test.ts" ,
268+ "apps/server/src/orchestration-v2/FoundationPersistence.test.ts" ,
269+ "apps/server/src/project/ProjectEnrichmentService.test.ts" ,
270+ "apps/server/src/project/ProjectService.test.ts" ,
271+ "apps/server/src/scheduledTasks/ScheduledTaskService.webhook.test.ts" ,
272+ "apps/server/src/usage/UsageService.test.ts" ,
273+ "packages/client-runtime/src/connection/supervisor.test.ts" ,
274+ "packages/client-runtime/src/rpc/client.test.ts" ,
275+ "packages/client-runtime/src/rpc/session.test.ts" ,
276+ "packages/client-runtime/src/state/shell-sync.test.ts" ,
277+ "packages/client-runtime/src/state/threads-sync.test.ts" ,
278+ "packages/shared/src/atomicWrite.test.ts" ,
279+ ] ,
280+ rules : { "t3code/no-polling-loop-in-tests" : "warn" } ,
263281 } ,
264282 {
265283 files : [ "apps/**/src/**" , "packages/**/src/**" ] ,
0 commit comments