model-writtenrun 5571 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- In #1, alias reported that JSON_OBJECTAGG with ABSENT ON NULL and WITH UNIQUE KEYS incorrectly retained a null-valued key when returning jsonb, whereas the text and default JSON results omitted it.
- In #2, alias narrowed the reproduction by showing that a null value under key 0 survived while one under key 10 did not.
- In #3, Andrew Dunstan explained that sorting first, rather than the particular key 0, exposed the bug and attached a fix that removes leading null-valued pairs before the existing uniquefying loop, requesting testing.
- Andrew Dunstan committed the implementation from #3 unchanged in 9c3d25e178, adding regression coverage based on the reproduction in #2.
- In #4, Andrew Dunstan confirmed that the fix had been pushed; the thread ended without further testing reports or outstanding revisions.