Skip to content

sqlite: Further cleanup how labels are handled#3487

Open
badboy wants to merge 5 commits into
sqlite/remove-unused-codefrom
sqlite/metric-labels
Open

sqlite: Further cleanup how labels are handled#3487
badboy wants to merge 5 commits into
sqlite/remove-unused-codefrom
sqlite/metric-labels

Conversation

@badboy

@badboy badboy commented Jun 8, 2026

Copy link
Copy Markdown
Member

This is the rest of #3481 basically, bringing it all into good shape.

@badboy badboy added the sqlite Any changes to the new SQLite storage backend label Jun 8, 2026
@badboy

badboy commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

the most important part here is d6eeb11 (this PR)
where I abstract away the label check into nice code and an enum that does the heavy lifting.

b861171 (this PR) is then purely mechanical renaming.

@badboy badboy force-pushed the sqlite/remove-unused-code branch from a91b007 to 97a8213 Compare June 9, 2026 12:02
@badboy badboy force-pushed the sqlite/metric-labels branch from b861171 to 18b377a Compare June 9, 2026 12:06
@badboy badboy marked this pull request as ready for review June 9, 2026 12:52
@badboy badboy requested a review from a team as a code owner June 9, 2026 12:52
@badboy badboy requested review from jeddai and removed request for a team June 9, 2026 12:52
badboy added 5 commits June 10, 2026 12:10
…ater point

downside: slightly worse error messages, but maybe we can inline them
This is another BREAKING CHANGE in the return type.
We can't return references to the labels anymore, we need owned values.
@badboy badboy force-pushed the sqlite/metric-labels branch from 18b377a to c51e1e6 Compare June 10, 2026 10:12
@badboy badboy force-pushed the sqlite/remove-unused-code branch from 97a8213 to 6d99444 Compare June 10, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sqlite Any changes to the new SQLite storage backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant