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

fix: rewrote settings logic to mimic aw-server-python behavior #428

Merged
merged 4 commits into from
Oct 19, 2023

Conversation

ErikBjare
Copy link
Member

No description provided.

@ErikBjare
Copy link
Member Author

ErikBjare commented Oct 19, 2023

Why does CI not run? :(

Nvm, just slow start.

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (f962ccd) 72.16% compared to head (55ddb98) 73.22%.
Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #428      +/-   ##
==========================================
+ Coverage   72.16%   73.22%   +1.06%     
==========================================
  Files          45       44       -1     
  Lines        2831     2794      -37     
==========================================
+ Hits         2043     2046       +3     
+ Misses        788      748      -40     
Files Coverage Δ
aw-server/src/endpoints/mod.rs 83.33% <100.00%> (+2.00%) ⬆️
aw-server/src/endpoints/util.rs 63.33% <100.00%> (ø)
aw-transform/src/classify.rs 93.61% <ø> (ø)
aw-datastore/src/worker.rs 76.76% <94.44%> (ø)
aw-datastore/src/datastore.rs 79.38% <80.00%> (-0.31%) ⬇️
aw-server/src/endpoints/settings.rs 85.71% <84.00%> (-6.79%) ⬇️

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines -917 to -920
timestamp: Some(DateTime::from_utc(
NaiveDateTime::from_timestamp_opt(row.get(2)?, 0).unwrap(),
Utc,
)),
Copy link
Member Author

Choose a reason for hiding this comment

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

Didn't see the point of timestamp. Not offered in the Python implementation, so removed.

The column will still exist in the table.

@ErikBjare ErikBjare merged commit 728c00e into master Oct 19, 2023
7 checks passed
@ErikBjare ErikBjare deleted the dev/settings branch October 19, 2023 10:22
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.

1 participant