facebookarchive / contest

Run continuous and on-demand system testing for real and virtual hardware
MIT License
32 stars 15 forks source link

[storage] Add storage consistency semantics #290

Closed mimir-d closed 3 years ago

mimir-d commented 3 years ago

testing:

The server responded with status 200 OK { "ServerID": "mbp", "Data": { "Status": { "Name": "status test", "State": "JobStateCompleted", "StateErrMsg": "", "StartTime": "2021-06-23T20:39:56Z", "EndTime": "2021-06-23T20:40:02Z", "RunStatus": { "JobID": 3, "RunID": 3, "StartTime": "0001-01-01T00:00:00Z", "TestStatuses": [ { "JobID": 3, "RunID": 3, "TestName": "Literal test", "TestStepStatuses": [ {

mimir-d commented 3 years ago

The xcontext storage consistency value could be better documented I think. I'm open to comments.

mimir-d commented 3 years ago

closed by playing with the github CLI...

mimir-d commented 3 years ago

why yes.. it should. I seem to have ignored that because it didn't use the context copy to begin with

codecov[bot] commented 3 years ago

Codecov Report

Merging #290 (e0d96c4) into master (ceebc35) will increase coverage by 0.30%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #290      +/-   ##
==========================================
+ Coverage   67.24%   67.54%   +0.30%     
==========================================
  Files         136      136              
  Lines        6607     6613       +6     
==========================================
+ Hits         4443     4467      +24     
+ Misses       1658     1644      -14     
+ Partials      506      502       -4     
Flag Coverage Δ
e2e 45.46% <89.28%> (+0.51%) :arrow_up:
integration 57.20% <96.42%> (+0.32%) :arrow_up:
unittests 50.20% <100.00%> (+1.10%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/event/frameworkevent/framework.go 73.33% <ø> (ø)
pkg/jobmanager/status.go 60.46% <100.00%> (ø)
pkg/runner/job_runner.go 73.12% <100.00%> (+3.55%) :arrow_up:
pkg/storage/events.go 58.33% <100.00%> (+8.33%) :arrow_up:
pkg/storage/job.go 100.00% <100.00%> (+28.57%) :arrow_up:
pkg/storage/storage.go 59.25% <100.00%> (+17.15%) :arrow_up:
pkg/xcontext/context.go 63.84% <0.00%> (+1.12%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ceebc35...e0d96c4. Read the comment docs.