• 
      

    Route legacy bugs_closed writes through bug relations.

    Review Request #15311 — Created Sept. 15, 2026 and updated

    Information

    Review Board
    release-9.x

    Reviewers

    The draft API resource and update_from_pending_change() now pass the
    parsed bug IDs to Bug.objects.sync_legacy_bug_list(), attributing them
    to the repository's default tracker (or the sentinel). The stored
    bugs_closed string is never written for migrated rows: the migration is
    one-way and the column freezes.

    Ran unit tests.

    Summary ID
    Route legacy bugs_closed writes through bug relations.
    The draft API resource and `update_from_pending_change()` now pass the parsed bug IDs to `Bug.objects.sync_legacy_bug_list()`, attributing them to the repository's default tracker (or the sentinel). The stored bugs_closed string is never written for migrated rows: the migration is one-way and the column freezes. Testing Done: Ran unit tests.
    upxmkvllxrpwvnorwrywmzympvmtpxyv
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.