Skip to content

Remove public-api lockfiles#8099

Merged
AdamGS merged 1 commit into
developfrom
adamg/remove-public-api-lock
May 27, 2026
Merged

Remove public-api lockfiles#8099
AdamGS merged 1 commit into
developfrom
adamg/remove-public-api-lock

Conversation

@AdamGS
Copy link
Copy Markdown
Contributor

@AdamGS AdamGS commented May 26, 2026

Summary

This PR removes the public-api lockfile mechanism, we don't actually use it to inform decisions, changes or the changelog. Its often just a chore that needs to be handled in CI/locally.

We should hold ourselves to a higher standard in PRs descriptions and when working on public APIs (especially widely used ones), that seems more important than every minor change in the API semantics because of some trait bound change.

@AdamGS AdamGS requested review from gatesn and joseph-isaacs May 26, 2026 10:20
@AdamGS AdamGS added the changelog/chore A trivial change label May 26, 2026
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 26, 2026

Merging this PR will not alter performance

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

✅ 1251 untouched benchmarks


Comparing adamg/remove-public-api-lock (163670f) with develop (c84205b)1

Open in CodSpeed

Footnotes

  1. No successful run was found on develop (25c0ff3) during the generation of this report, so c84205b was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@joseph-isaacs
Copy link
Copy Markdown
Contributor

Screenshot 2026-05-26 at 11 27 09

@AdamGS AdamGS requested a review from robert3005 May 26, 2026 10:30
@joseph-isaacs
Copy link
Copy Markdown
Contributor

I think we should either have a plan on what we should do with these or remove them!

@robert3005
Copy link
Copy Markdown
Contributor

I think we should introduce them per crate and not on the whole repo. We can remove them now and go bottom up making it harder to merge things that change public apis. Though practically I think it would just be committing to marking things a break if public apis are touched and maybe additional review for adding new public apis

@AdamGS
Copy link
Copy Markdown
Contributor Author

AdamGS commented May 26, 2026

A lot of our core APIs are still in flux, we can make it a higher priority as part of reviews and general thinking, but until we reach a point of actual stability, I don't see the value of automated tooling here.

@0ax1
Copy link
Copy Markdown
Contributor

0ax1 commented May 27, 2026

I think the lock-files had the right intention trying to keep the API stable but a) lock diffs are too large and b) we always ignore them. I haven't seen a PR not merge bc of an API change being highlighted by a lock-file. So rn this is really just noise and churn. So the lock-files don't seem like the right tool / abstraction level to reason about breaking API changes.

Signed-off-by: Adam Gutglick <adam@spiraldb.com>
@AdamGS AdamGS force-pushed the adamg/remove-public-api-lock branch from dbbcf01 to 163670f Compare May 27, 2026 09:37
@robert3005 robert3005 enabled auto-merge (squash) May 27, 2026 11:10
@AdamGS AdamGS disabled auto-merge May 27, 2026 11:55
@AdamGS AdamGS merged commit 8265aa1 into develop May 27, 2026
61 checks passed
@AdamGS AdamGS deleted the adamg/remove-public-api-lock branch May 27, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/chore A trivial change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants