Re: abi-compliance-check failure due to recent changes to pg_{clear,restore}_{attribute,relation}_stats()
Mankirat Singh <mankiratsingh1315@gmail.com>
From: Mankirat Singh <mankiratsingh1315@gmail.com>
To: "David E. Wheeler" <david@justatheory.com>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@lists.postgresql.org, bruce@momjian.us, andrew@dunslane.net, nathandbossart@gmail.com
Date: 2025-10-30T15:22:08Z
Lists: pgsql-hackers
On Thu, 30 Oct 2025 at 19:40, David E. Wheeler <david@justatheory.com> wrote: > > On Oct 30, 2025, at 09:55, Tom Lane <tgl@sss.pgh.pa.us> wrote: > > > Trouble is, you then need an arbitrary client-made choice about which > > commit to run the ABI check against. > > It’s currently coded to use the most recent tag or, if there is none in the branch, the branch root. Yes, like before the addition of .abi-compliance-history in the REL_18_STABLE branch, REL_18_0 was being used as the baseline. > > If that code does something we > > realize we don't want, we're back up against the problem of moving the > > buildfarm configuration to fix it. I'd rather the decision be opt-in. No changes to individual animal configurations will be required. Once a STABLE branch gets the .abi-compliance-history file, the baseline will update automatically from the lastest tag to the mentioned commit SHA for all clients. :D > Fair. Just means that if no one adds a history file to a branch that branch will never be tested and there’s no automated way to realize it. Although I don’t oppose the idea of “don’t run the ABI check unless the branch has a .abi-compliance-history file”, it would just need some minor code removals and adjustments. We can put a note in the compliance check result for new STABLE branches - "no .abi-compliance-history file found", but keep the client status green?
Commits
-
Add commit 24f6c1bd4 to v17 .abi-compliance-history.
- 5c659da980e1 17.7 landed
-
Add .abi-compliance-history to back-branches.
- eaf73340cd46 16.11 landed
- d9c5e7129d2b 15.15 landed
- a91f2d822522 17.7 landed
- 7d47278933f4 13.23 landed
- 58ba7e5ebfdf 14.20 landed
-
Add reminder to create .abi-compliance-history.
- b97d8d843a2d 19 (unreleased) landed
-
Update .abi-compliance-history file.
- 93fb76ca4e69 18.1 landed
-
Add .abi-compliance-history to v18 branch.
- a72f7d97bea9 18.1 landed
-
Fix thinko in commit 7d129ba54.
- 399a9e04e549 18.1 cited
-
Fix lookups in pg_{clear,restore}_{attribute,relation}_stats().
- c8af5019bee5 18.1 cited
- 688dc6299a5b 19 (unreleased) cited
-
Add defenses against unexpected changes in the NodeTag enum list.
- eea9fa9b250f 16.0 cited