Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare sancho-3-0-0 #1581

Merged
merged 12 commits into from
Dec 20, 2023
Merged

Prepare sancho-3-0-0 #1581

merged 12 commits into from
Dec 20, 2023

Conversation

kderme
Copy link
Contributor

@kderme kderme commented Dec 20, 2023

Description

Add your description here, if it fixes a particular issue please provide a link to the issue.

Checklist

  • Commit sequence broadly makes sense
  • Commits have useful messages
  • New tests are added if needed and existing tests are updated
  • Any changes are noted in the changelog
  • Code is formatted with fourmolu on version 0.10.1.0 (which can be run with scripts/fourmolize.sh)
  • Self-reviewed the diff

Migrations

  • The pr causes a breaking change of type a,b or c
  • If there is a breaking change, the pr includes a database migration and/or a fix process for old values, so that upgrade is possible
  • Resyncing and running the migrations provided will result in the same database semantically

If there is a breaking change, especially a big one, please add a justification here. Please elaborate
more what the migration achieves, what it cannot achieve or why a migration is not possible.

@kderme kderme marked this pull request as ready for review December 20, 2023 14:15
@@ -1390,16 +1390,15 @@ insertScript ::
Trace IO Text ->
DB.TxId ->
Generic.TxScript ->
ExceptT SyncNodeError (ReaderT SqlBackend m) DB.ScriptId
ReaderT SqlBackend m DB.ScriptId
Copy link
Contributor

Choose a reason for hiding this comment

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

How come we're removing the error handling SyncNodeError?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

SyncNodeError cannot happen in this function. ReaderT is lifted to ExceptT, but that's unnecessary.

Copy link
Contributor

@Cmdv Cmdv left a comment

Choose a reason for hiding this comment

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

LGTM, just one question

@kderme kderme merged commit 738c598 into master Dec 20, 2023
15 of 21 checks passed
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.

3 participants