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

Improve Script running/completed scripts #469

Merged
merged 3 commits into from
Feb 9, 2023
Merged

Improve Script running/completed scripts #469

merged 3 commits into from
Feb 9, 2023

Conversation

jmthomas
Copy link
Member

@jmthomas jmthomas commented Feb 9, 2023

closes #465

@jmthomas jmthomas requested a review from ryanmelt February 9, 2023 01:23
@codecov
Copy link

codecov bot commented Feb 9, 2023

Codecov Report

Base: 74.44% // Head: 74.54% // Increases project coverage by +0.09% 🎉

Coverage data is based on head (d99eeec) compared to base (bab657a).
Patch coverage: 76.47% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #469      +/-   ##
==========================================
+ Coverage   74.44%   74.54%   +0.09%     
==========================================
  Files         458      458              
  Lines       27971    27982      +11     
  Branches      593      594       +1     
==========================================
+ Hits        20824    20859      +35     
+ Misses       7053     7028      -25     
- Partials       94       95       +1     
Flag Coverage Δ
frontend 76.21% <100.00%> (+0.48%) ⬆️
ruby-backend 78.52% <69.23%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
...ptrunner/src/tools/ScriptRunner/RunningScripts.vue 21.56% <ø> (ø)
...s-script-runner-api/app/models/completed_script.rb 57.14% <ø> (ø)
openc3/lib/openc3/script/storage.rb 14.45% <0.00%> (-0.18%) ⬇️
...riptrunner/src/tools/ScriptRunner/ScriptRunner.vue 73.77% <100.00%> (+0.03%) ⬆️
openc3/lib/openc3/models/cvt_model.rb 100.00% <100.00%> (ø)
openc3/lib/openc3/utilities/authorization.rb 73.33% <0.00%> (-11.29%) ⬇️
...tlmserver/src/tools/CmdTlmServer/InterfacesTab.vue 47.05% <0.00%> (-5.89%) ⬇️
...-cmd-tlm-api/app/controllers/storage_controller.rb 21.05% <0.00%> (+2.87%) ⬆️
...plorer/src/tools/BucketExplorer/BucketExplorer.vue 76.92% <0.00%> (+5.22%) ⬆️
... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jmthomas
Copy link
Member Author

jmthomas commented Feb 9, 2023

Playwright should pass once I merge the other PR into this

@@ -104,11 +104,12 @@ def get_target_file(path, original: false, scope: $openc3_scope)
if part == "targets_modified" and ENV['OPENC3_LOCAL_MODE']
local_file = OpenC3::LocalMode.open_local_file(path, scope: scope)
if local_file
OpenC3::Logger.info "Reading local #{scope}/#{path}"
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to log reading files?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah we're already doing it in the nominal case so we should in the local mode case

@jmthomas jmthomas merged commit a0cd69e into main Feb 9, 2023
@jmthomas jmthomas deleted the script_runner branch February 9, 2023 20:58
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.

First Script Runner script doesn't show up in completed list
2 participants