xiangfu0 opened a new pull request, #18003:
URL: https://github.com/apache/pinot/pull/18003

   ## Summary
   - Add `scripts/debt-scan.sh` for automated technical debt scanning
   - Counts TODO/FIXME per module in main source Java files only
   - Excludes test resources, fixtures, example data, and non-code files
   - Highlights TODOs lacking issue references (e.g., `TODO(PINOT-...)`)
   - Produces a clean per-module summary table with `-h` help flag
   
   ### Sample output
   ```
   Module                                       TODO    FIXME  Untracked
   pinot-controller                              120        2        120 ⚠
   pinot-core                                    170        0        168 ⚠
   pinot-segment-local                           134        3        134 ⚠
   ...
   TOTAL                                         840        6        838
   ```
   
   ## Test plan
   - [x] Script runs without errors on the repo
   - [x] Output matches manual grep spot-checks
   - [x] Exclusion patterns correctly filter test resources and fixtures
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to