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

goal: Make goal state schema optional #5356

Merged
merged 2 commits into from May 4, 2023

Conversation

jasonpaulos
Copy link
Member

Summary

Follow up from #4946, this PR makes the goal app flags --global-byteslices, --global-ints, --local-byteslices, and --local-ints optional. Also errors earlier for invalid box names.

Test Plan

Added test/scripts/e2e_subs/goal-app-create-state-defaults.sh to ensure that omitting the flags has the same effect as setting them to 0.

Also modified existing tests to prefer omitting the state schema flags instead of setting them to 0.

@codecov
Copy link

codecov bot commented May 3, 2023

Codecov Report

Merging #5356 (676db86) into master (1634285) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #5356   +/-   ##
=======================================
  Coverage   55.25%   55.25%           
=======================================
  Files         454      454           
  Lines       63723    63722    -1     
=======================================
  Hits        35208    35208           
  Misses      26122    26122           
+ Partials     2393     2392    -1     
Impacted Files Coverage Δ
cmd/goal/application.go 18.19% <ø> (-0.40%) ⬇️
config/consensus.go 85.78% <100.00%> (+0.03%) ⬆️
data/transactions/transaction.go 42.73% <100.00%> (+0.33%) ⬆️

... and 6 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jasonpaulos jasonpaulos self-assigned this May 4, 2023
Copy link
Contributor

@winder winder left a comment

Choose a reason for hiding this comment

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

nice 👍

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

Successfully merging this pull request may close these issues.

None yet

4 participants