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

Do not put results_info in the db. #2071

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

vdbergh
Copy link
Contributor

@vdbergh vdbergh commented Jun 15, 2024

Rendered data does not belong in the db.

@vdbergh
Copy link
Contributor Author

vdbergh commented Jun 15, 2024

Note that the PRs #2071 #2070 #2069 #2067 all have slight conflicts with each other (they are based on master). I will rebase them when required.

@vdbergh vdbergh marked this pull request as draft June 15, 2024 10:13
@vdbergh vdbergh marked this pull request as ready for review June 15, 2024 10:26
@vdbergh vdbergh force-pushed the format_results branch 2 times, most recently from afebb4e to e5a6a0b Compare June 16, 2024 04:53
@ppigazzini ppigazzini marked this pull request as draft June 25, 2024 15:45
@vdbergh vdbergh marked this pull request as ready for review June 25, 2024 17:03
@vdbergh
Copy link
Contributor Author

vdbergh commented Jun 25, 2024

Rebased!

@ppigazzini ppigazzini marked this pull request as draft July 1, 2024 14:54
@vdbergh vdbergh marked this pull request as ready for review July 1, 2024 19:30
@vdbergh
Copy link
Contributor Author

vdbergh commented Jul 1, 2024

Rebased.

Rendered data does not belong in the db.
Copy link
Collaborator

@ppigazzini ppigazzini left a comment

Choose a reason for hiding this comment

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

Looks good on DEV

@ppigazzini ppigazzini merged commit 657ba4f into official-stockfish:master Jul 4, 2024
19 checks passed
@ppigazzini
Copy link
Collaborator

PROD updated, thank you @vdbergh

@ppigazzini
Copy link
Collaborator

If I'm not wrong, we can write a script to drop the run['results_info'] from all the runs in the "runs" collection

Jul 04 21:25:39 ns304014 pserve[52240]: The run object 668444967a1863935cee42ba does not validate: run['results_info'] is not in the schema
Jul 04 21:28:45 ns304014 pserve[52240]: Clean_wtt_map: 105 active workers...
Jul 04 21:28:45 ns304014 pserve[52240]: Clean_wtt_map: 106 active workers...
Jul 04 21:28:45 ns304014 pserve[52240]: The run object 6685df348c84573fdb76449d does not validate: run['results_info'] is not in the schema
Jul 04 21:31:49 ns304014 pserve[52240]: Clean_wtt_map: 106 active workers...
Jul 04 21:31:49 ns304014 pserve[52240]: The run object 6684724e7a1863935cee42f9 does not validate: run['results_info'] is not in the schema

@vdbergh
Copy link
Contributor Author

vdbergh commented Jul 4, 2024

Yes we can. After this PR it will just be ignored, so it would be nice to get rid of it.

@ppigazzini
Copy link
Collaborator

ppigazzini commented Jul 4, 2024

Ok, I will wrote a script to clean the key/value, testing it on DEV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement server server side changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants