facebookresearch / CompilerGym

Reinforcement learning environments for compiler and program optimization tasks
https://compilergym.ai/
MIT License
906 stars 127 forks source link

CI hardening patchset #658

Closed ChrisCummins closed 2 years ago

ChrisCummins commented 2 years ago

The original goal was to fix #657, but this turned out to be only a temporary network error, so instead this patch set contains fixes for a couple of sources of flakiness observed in the unit tests.

codecov-commenter commented 2 years ago

Codecov Report

Merging #658 (3815a0a) into development (34712e9) will increase coverage by 0.06%. The diff coverage is 93.75%.

@@               Coverage Diff               @@
##           development     #658      +/-   ##
===============================================
+ Coverage        88.25%   88.31%   +0.06%     
===============================================
  Files              119      119              
  Lines             7475     7481       +6     
===============================================
+ Hits              6597     6607      +10     
+ Misses             878      874       -4     
Impacted Files Coverage Δ
compiler_gym/envs/llvm/llvm_benchmark.py 93.00% <93.75%> (-0.43%) :arrow_down:
...ompiler_gym/service/client_service_compiler_env.py 90.69% <0.00%> (ø)
compiler_gym/service/connection.py 79.01% <0.00%> (+0.98%) :arrow_up:
...loop_tool/service/loop_tool_compilation_session.py 89.79% <0.00%> (+1.36%) :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 34712e9...3815a0a. Read the comment docs.