-
Notifications
You must be signed in to change notification settings - Fork 490
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
tools: EvalDelta and ConsensusParams x-repo type checks #5381
Merged
algorandskiy
merged 42 commits into
algorand:master
from
tzaffi:23may-indexer-import-types
Jun 5, 2023
Merged
tools: EvalDelta and ConsensusParams x-repo type checks #5381
algorandskiy
merged 42 commits into
algorand:master
from
tzaffi:23may-indexer-import-types
Jun 5, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## master #5381 +/- ##
==========================================
- Coverage 55.44% 50.13% -5.32%
==========================================
Files 447 447
Lines 63272 79614 +16342
==========================================
+ Hits 35083 39916 +4833
- Misses 25810 37321 +11511
+ Partials 2379 2377 -2 see 418 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
tzaffi
commented
May 12, 2023
This was referenced May 12, 2023
tzaffi
commented
May 19, 2023
winder
previously approved these changes
May 26, 2023
tzaffi
commented
May 26, 2023
tzaffi
changed the title
tools: EvalDelta type check
tools: EvalDelta + ConsensusParams type checks
May 26, 2023
tzaffi
changed the title
tools: EvalDelta + ConsensusParams type checks
tools:May 27, 2023
EvalDelta
& ConsensusParams
x-repo type checks + bugfix: start testing subdirectories with a go.mod
tzaffi
changed the title
tools:
tools: May 27, 2023
EvalDelta
& ConsensusParams
x-repo type checks + bugfix: start testing subdirectories with a go.mod
EvalDelta
& ConsensusParams
x-repo type checks + bugfix: start testing subdirectories with a go.mod
algorand#5360) Co-authored-by: Jason Paulos <jasonpaulos@users.noreply.github.com>
tzaffi
commented
Jun 2, 2023
tzaffi
commented
Jun 2, 2023
tzaffi
commented
Jun 2, 2023
cce
reviewed
Jun 2, 2023
tzaffi
changed the title
enhancement: 1. start testing nested go modules + 2. tools:
enhancement: 1. better CI handling of nested go modules + 2. tools: Jun 5, 2023
EvalDelta
& ConsensusParams
x-repo type checksEvalDelta
& ConsensusParams
x-repo type checks
algorandskiy
reviewed
Jun 5, 2023
tzaffi
commented
Jun 5, 2023
cce
approved these changes
Jun 5, 2023
algorandskiy
changed the title
enhancement: 1. better CI handling of nested go modules + 2. tools:
tools: EvalDelta and ConsensusParams x-repo type checks
Jun 5, 2023
EvalDelta
& ConsensusParams
x-repo type checks
algorandskiy
approved these changes
Jun 5, 2023
This was referenced Jun 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
1. Introduce recursive
go test ./...
in CI andgo mod tidy
both inMakefile
andCI
It turns out that the x-repo-types tests weren't actually running in C.I. This is because
go test ./...
(andgotestsum
) don't recurse into module directories (those that have ago.mod
file).We can see that this commit very happily passed CI:
References
Summary of CI/Makefile Changes:
.github/workflows/tools.yml
- (thanks @cce cf. GHA for tools tzaffi/go-algorand#17)Makefile
- Recursive recipe formake tidy
2. Introduce more cross-type checks
EvalDelta
indata.transactions
vs. ingo-algorand-sdk
'stypes
.ConsensusParams
inconfig
vs. ingo-algorand-sdk
'sprotocol.config
Context
EvalDelta
was introduced to fix failing Indexer end-to-end tests. See:ConsensusParams
was moved from indexer to go-algorand-sdk in algorand/go-algorand-sdk#543Related Issues
ConsensusAccountData
fromAccountData
#5316F.A.Q.
Which tests were being skipped and what is the impact going forward?
cmd/partitiontest_linter/linter_test.go- STILL SKIPPED GOING FORWARDTesting
Purely on CI