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

refactor(db): return user on created and updated #935

Merged
merged 3 commits into from
Aug 29, 2023

Conversation

ecrupper
Copy link
Contributor

Continuing effort from these: #861, #882, #884, #913, #915, #928, #932, #933

@ecrupper ecrupper requested a review from a team as a code owner August 23, 2023 18:50
@codecov
Copy link

codecov bot commented Aug 23, 2023

Codecov Report

Merging #935 (17a9408) into main (236eb9e) will decrease coverage by 0.03%.
The diff coverage is 54.54%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #935      +/-   ##
==========================================
- Coverage   70.85%   70.83%   -0.03%     
==========================================
  Files         311      311              
  Lines       12841    12849       +8     
==========================================
+ Hits         9099     9101       +2     
- Misses       3279     3283       +4     
- Partials      463      465       +2     
Files Changed Coverage Δ
database/user/create.go 68.96% <54.54%> (-7.04%) ⬇️
database/user/update.go 68.96% <54.54%> (-7.04%) ⬇️

@ecrupper ecrupper merged commit 5df4993 into main Aug 29, 2023
12 of 13 checks passed
@ecrupper ecrupper deleted the refactor-return-db-user branch August 29, 2023 14:04
ecrupper added a commit that referenced this pull request Aug 31, 2023
* Increase Starlark execution limit, abstract limit resolver

5,000 was too few to enable the example added to the testdata to work, so was 6,000. I chose 7,500 arbitrarily after a test at 10,000 and both worked.

In the long term, this should probably be configurable so as not to require recompilation. For now, this kicks the can down the road while allowing this build matrix use case to exist.

* refactor(db): return user on created and updated (#935)

* enhance(starlark): make execution step limit configurable

* remove compose configuration

* make execlimit part of test struct

* update limit for Render

* enhance: use consistent variable aliases (#946)

* remove helper function to get limit

---------

Co-authored-by: Colin Dean <[email protected]>
Co-authored-by: Colin Dean <[email protected]>
Co-authored-by: dave vader <[email protected]>
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