-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
chore: Update the hasql ecosystem deps to the upcoming releases #4434
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
Draft
nikita-volkov
wants to merge
29
commits into
PostgREST:main
Choose a base branch
from
nikita-volkov:up-hasql
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
9c59183
Update the deps
nikita-volkov 9c32452
Work around postgresql-libpq compilation issues
nikita-volkov 13af502
Isolate Algebra
nikita-volkov 540bb3a
Factor ApiRequestError out of Error
nikita-volkov bd429ce
Isolate SchemaCacheError
nikita-volkov 03d5398
Isolate parseRaisePGRST, PgRaiseErrMessage and PgRaiseErrDetails
nikita-volkov 48fec7e
Clean up imports
nikita-volkov f2f5330
Integrate ResultError
nikita-volkov a64f307
Reorganize for better encapsulation
nikita-volkov 188c766
Isolate RaisePgrst
nikita-volkov 449aaf9
Isolate CommandError
nikita-volkov 90ae822
Isolate UsageError
nikita-volkov fecd069
Extract PgError
nikita-volkov bb1c9a6
Isolate Error
nikita-volkov 3743342
Encapsulate deeper
nikita-volkov fe9b176
Adapt to the preexisting naming conventions
nikita-volkov f4bd83d
Refine the deps
nikita-volkov 1ffa84a
Clean up
nikita-volkov ebd4df7
Merge branch 'refactor-errors/1' into update/1
nikita-volkov f2dc3a3
Progress
nikita-volkov a807ee6
Implement ServerError
nikita-volkov 859c2c5
Sort
nikita-volkov 9d14c9e
Merge branch 'refactor-errors/1' into update/1
nikita-volkov 46156d4
Migrate to Hasql@master
nikita-volkov 08b3686
Lint
nikita-volkov cf6ba3b
Merge branch 'refactor-errors/1' into up-hasql
nikita-volkov 6844503
Merge branch 'main' into refactor-errors/1
nikita-volkov d44a467
Merge branch 'refactor-errors/1' into up-hasql
nikita-volkov 7e6117a
Ensure to support GHC 9.4
nikita-volkov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,7 +13,6 @@ site | |
| *#* | ||
| .#* | ||
| *.swp | ||
| result* | ||
| dist-* | ||
| postgrest.hp | ||
| postgrest.prof | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,29 @@ | ||
| with-compiler: ghc-9.4.8 | ||
|
|
||
| packages: postgrest.cabal | ||
| tests: true | ||
|
|
||
| source-repository-package | ||
| type: git | ||
| location: https://github.com/nikita-volkov/hasql | ||
| tag: 3b9cb47a20b7c3fa8b86a89e202fc10686211416 | ||
|
|
||
| source-repository-package | ||
| type: git | ||
| location: https://github.com/nikita-volkov/hasql-dynamic-statements | ||
| tag: fe059d76f381e4bc486dffce928cde767cc54f6a | ||
|
|
||
| source-repository-package | ||
| type: git | ||
| location: https://github.com/nikita-volkov/hasql-transaction | ||
| tag: b355efa7c666f73c1e07a2dcdeba8073da14c0ab | ||
|
|
||
| source-repository-package | ||
| type: git | ||
| location: https://github.com/nikita-volkov/hasql-pool | ||
| tag: ae8957ba43af7804a707fffa29bbf807dd217f41 | ||
|
|
||
| source-repository-package | ||
| type: git | ||
| location: https://github.com/nikita-volkov/hasql-notifications | ||
| tag: fdb39124518c57219d00be08e34f1f830a93adc3 | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please note that we feel very uneasy about the massive increase in Copilot use for hasql development recently. We are very likely not going to update beyond 1.9.3.1 and are considering to fork / vendor hasql instead at that version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow. What's the issue with that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the last 2 months, the hasql repository had changes in 160 files, 12,296 additions and 4,223 deletions. (compared master vs 1.9.3.1)
Compare that to the difference between 1.9.3.1 and 0.1.0.RC1 (the oldest tag): 73 files, 5,256 additions and 899 deletions. This development happened over a time of more than 10 years.
Do I question whether you, as the only human involved, are able to review the amount of 20 years of work in two months to ensure high quality? Yes, I do question that.
I really liked
hasql- as well as your other projects and all the engineering work you put into that over the years. But the "new"hasqlis not a product of your skills anymore, I don't trust the code and I have zero chance to review all these changes.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand your concern but I also see a bit of jumping to conclusions.
Have you looked at the amount of tests that's been added and how large a portion of the changed lines they occupy? It is the majority of those changes and the more tests we have, the more reliable the library is.
Have you considered the dead branches of Hasql with years of research and development put in? I also have a huge repository with an alternative to Hasql based on the native protocol, which I haven't even made public. What I release publicly is primarily the cumulative result of all of that. I have a vision for Hasql. I know how to incrementally improve it and I have a roadmap for that. This has nothing to do with LLMs.
I use LLMs to speed up by automating the dumb work. The design and all the essential code is still mine. Also it's still my reputation at stake, so there's no reason for me to lower my quality standards.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your detailed response by the way! It certainly has given me a user-perspective which I haven't considered before.