Skip to content

Upgrade River + River Pro and support SQLite - #657

Merged
brandur merged 1 commit into
masterfrom
brandur-pro-sqlite-support
Aug 22, 2026
Merged

Upgrade River + River Pro and support SQLite#657
brandur merged 1 commit into
masterfrom
brandur-pro-sqlite-support

Conversation

@brandur

@brandur brandur commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Bumps River to v0.44.1, River Pro to v0.27.1, and makes a couple tweaks
to make sure that River Pro features are working in conjunction with
SQLite.

@brandur
brandur force-pushed the brandur-pro-sqlite-support branch 2 times, most recently from 7d4dbb8 to 4514901 Compare August 20, 2026 08:37
@brandur
brandur requested a review from bgentry August 20, 2026 08:40

@bgentry bgentry left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than my thought that it looks like some of this belongs in River itself to keep the drivers identical. I assume we may be missing some assertions on this at that layer to ensure conformance?

Comment on lines +879 to +882
errors := internal.Errors
if errors == nil {
errors = []rivertype.AttemptError{}
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, shouldn't this be able to stay the same while this defaulting logic is moved into the driver so the sqlite driver behaves the same as the others?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah good point. Opened riverqueue/river#1354.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. @bgentry I just pulled latest River + River Pro again and was able to get rid of this change.

brandur added a commit to riverqueue/river that referenced this pull request Aug 21, 2026
…1354)

This one's related to [1]. Have the SQLite driver always return a
non-null errors property to match the Postgres behavior.

[1] riverqueue/riverui#657 (comment)
@brandur
brandur force-pushed the brandur-pro-sqlite-support branch from 4514901 to ae4ec8c Compare August 22, 2026 00:01
Bumps River to v0.44.1, River Pro to v0.27.1, and makes a couple tweaks
to make sure that River Pro features are working in conjunction with
SQLite.
@brandur
brandur force-pushed the brandur-pro-sqlite-support branch from ae4ec8c to 1b123d6 Compare August 22, 2026 00:33
@brandur
brandur merged commit d584ef0 into master Aug 22, 2026
23 checks passed
@brandur
brandur deleted the brandur-pro-sqlite-support branch August 22, 2026 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants