Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-56216

Commit queue should verify no open TODOs in code

    • Fully Compatible
    • v4.9, v4.4
    • DAG 2021-05-03, DAG 2021-05-17
    • 2

      There is a Jira TODO bot that scrapes the codebase for TODOs that reference closed tickets. Frequently, I don't find out about these TODOs until I have already closed the ticket. It then takes time to triage the ticket, etc.

      It would be extremely useful to have a commit-queue task (or even a sometimes-enabled patch build task) as a line of defense. It should fail when there is an outstanding TODO in the code that references your ticket number. I don't know what the current bot does. We should check with the TPMs for the current script.

      I assume it just uses a regex like this: TODO.*<ticket>

            david.bradford@mongodb.com David Bradford (Inactive)
            louis.williams@mongodb.com Louis Williams
            2 Vote for this issue
            7 Start watching this issue