label_count or "(all)" yields a str whenever --limit isn't passed — which is the normal
CI path — so the %d placeholder raised on every indexing run:
TypeError: %d format: a real number is required, not str
Arguments: (218633, '(all)', 10.680204153060913)
logging swallows the exception, so the index still built correctly and CI stayed green. The
only damage was a stack trace in place of the summary line, in every refresh/build log —
noise that makes a real failure harder to spot.
%s formats the int and the string fallback both.
Verified
Path
Output
no --limit (the broken one)
loaded 218633 chunks from (all) label(s) in 6.6s
--limit 5
loaded 180 chunks from 5 label(s) in 0.0s
Found in the run-24307 build log while confirming the mcp 2.x deploy (#6). Unrelated to that
change — it predates it.
`label_count or "(all)"` yields a **str** whenever `--limit` isn't passed — which is the normal
CI path — so the `%d` placeholder raised on every indexing run:
```
TypeError: %d format: a real number is required, not str
Arguments: (218633, '(all)', 10.680204153060913)
```
`logging` swallows the exception, so the index still built correctly and CI stayed green. The
only damage was a stack trace in place of the summary line, in every `refresh`/`build` log —
noise that makes a real failure harder to spot.
`%s` formats the int and the string fallback both.
## Verified
| Path | Output |
|---|---|
| no `--limit` (the broken one) | `loaded 218633 chunks from (all) label(s) in 6.6s` |
| `--limit 5` | `loaded 180 chunks from 5 label(s) in 0.0s` |
Found in the run-24307 build log while confirming the mcp 2.x deploy (#6). Unrelated to that
change — it predates it.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01FFBDnRWHispovmJVK9rXc9
`label_count or "(all)"` yields a str when --limit isn't passed (the
normal CI path), so the %d placeholder raised
TypeError: %d format: a real number is required, not str
on every indexing run. logging swallows the error, so the index still
built correctly and CI stayed green — it just printed a stack trace
instead of the summary line. Visible in every refresh/build log.
%s formats both the int and the string fallback.
Verified both paths:
no --limit -> "loaded 218633 chunks from (all) label(s) in 6.6s"
--limit 5 -> "loaded 180 chunks from 5 label(s) in 0.0s"
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01FFBDnRWHispovmJVK9rXc9
claude
merged commit 254c4df71d into main2026-09-10 21:33:47 -04:00
claude
deleted branch fix-index-log2026-09-10 21:33:47 -04:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
label_count or "(all)"yields a str whenever--limitisn't passed — which is the normalCI path — so the
%dplaceholder raised on every indexing run:loggingswallows the exception, so the index still built correctly and CI stayed green. Theonly damage was a stack trace in place of the summary line, in every
refresh/buildlog —noise that makes a real failure harder to spot.
%sformats the int and the string fallback both.Verified
--limit(the broken one)loaded 218633 chunks from (all) label(s) in 6.6s--limit 5loaded 180 chunks from 5 label(s) in 0.0sFound in the run-24307 build log while confirming the mcp 2.x deploy (#6). Unrelated to that
change — it predates it.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FFBDnRWHispovmJVK9rXc9
`label_count or "(all)"` yields a str when --limit isn't passed (the normal CI path), so the %d placeholder raised TypeError: %d format: a real number is required, not str on every indexing run. logging swallows the error, so the index still built correctly and CI stayed green — it just printed a stack trace instead of the summary line. Visible in every refresh/build log. %s formats both the int and the string fallback. Verified both paths: no --limit -> "loaded 218633 chunks from (all) label(s) in 6.6s" --limit 5 -> "loaded 180 chunks from 5 label(s) in 0.0s" Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FFBDnRWHispovmJVK9rXc9