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

[Dynamic Protocol State] Sync master to feature/dynamic-protocol-state #5117

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
993 commits
Select commit Hold shift + click to select a range
ede7f74
Updated test
UlyanaAndrukhiv Nov 23, 2023
40c5734
Linted
UlyanaAndrukhiv Nov 23, 2023
cf9c0d2
reduce finalized block call
zhangchiqing Nov 23, 2023
717c82f
Implemented of fetching error messages
Guitarheroua Nov 23, 2023
7bc11a2
remove index reporter for registersAsync
koko1123 Nov 24, 2023
360cdd4
Added parameter blockID to GetSystemTransaction, so it will be more c…
AndriiDiachuk Nov 24, 2023
a1283f3
Added checks and default values
Guitarheroua Nov 24, 2023
2025faa
Updated existing functional test to check upstream failover
UlyanaAndrukhiv Nov 24, 2023
76db36e
Merge branch 'amlandeep/create-get-register-async' of github.com:onfl…
koko1123 Nov 24, 2023
8493c42
use atomic pointer
koko1123 Nov 24, 2023
c990e22
Merge branch 'master' into jordan/merge-master-blst
Nov 24, 2023
91f529c
Merge pull request #4863 from onflow/jordan/merge-master-blst
tarakby Nov 24, 2023
4839835
merge main feature branch
Nov 24, 2023
cd2d74e
slow down block rate in integration access cohort1 test
Nov 24, 2023
56a7210
Updated documentaion according to comments
UlyanaAndrukhiv Nov 27, 2023
f00081c
Extended code documentation and added more comments
UlyanaAndrukhiv Nov 27, 2023
ea7afa8
Upgraded godoc
UlyanaAndrukhiv Nov 27, 2023
7d598d8
Replaced check with switch
Guitarheroua Nov 27, 2023
8dd3ba0
Merge pull request #5010 from Guitarheroua/guitarheroua/4910-cb-too-r…
Guitarheroua Nov 27, 2023
37db617
Added more comment for test
UlyanaAndrukhiv Nov 27, 2023
80f43d8
Merge branch 'master' into UlyanaAndrukhiv/4028-handle-inconsistent-p…
UlyanaAndrukhiv Nov 27, 2023
aab49b2
Merge branch 'master' into UlyanaAndrukhiv/2955-improve-upstream-grpc…
UlyanaAndrukhiv Nov 27, 2023
c19859c
Added event with payload to test decoding, linted
AndriiDiachuk Nov 27, 2023
b246a93
Merge branch 'master' of https://github.com/AndriiDiachuk/flow-go int…
AndriiDiachuk Nov 27, 2023
82bd0bb
Add EVM transactions To FVM benchmark tests
janezpodhostnik Nov 27, 2023
fbe6207
Removed replace and added current version of flow proto
AndriiDiachuk Nov 27, 2023
2d4338e
Merge pull request #5012 from Guitarheroua/guitarheroua/4909-cb-cause…
peterargue Nov 27, 2023
d75692f
Replace flow-emulator for integration tests
AndriiDiachuk Nov 27, 2023
5e2154b
changes per suggestions
koko1123 Nov 27, 2023
e88c9e3
correct compareAndSwap
koko1123 Nov 27, 2023
c9b8386
Merge pull request #4871 from onflow/amlandeep/create-get-register-async
koko1123 Nov 27, 2023
543c8f4
Merge branch 'master' into AndriiDiachuk/4584-get-block-endpoint-is-m…
peterargue Nov 27, 2023
c344c88
Merge pull request #5011 from UlyanaAndrukhiv/UlyanaAndrukhiv/2955-im…
peterargue Nov 27, 2023
d2e778b
Merge branch 'master' into AndriiDiachuk/4584-get-block-endpoint-is-m…
durkmurder Nov 27, 2023
8a36b0e
Added tests
Guitarheroua Nov 27, 2023
c3f1f01
Merge branch 'master' of github.com:Guitarheroua/flow-go into guitarh…
Guitarheroua Nov 27, 2023
0c8a69c
[Access] Make RegisterID request size configurable
koko1123 Nov 27, 2023
a7a6a5d
Merge branch 'master' into yahya/6870-fix-memory-intensive-issues-part-2
yhassanzadeh13 Nov 27, 2023
10b0fcb
Merge pull request #5025 from onflow/yahya/6870-fix-memory-intensive-…
yhassanzadeh13 Nov 28, 2023
26fac62
enhance tests + naming
koko1123 Nov 28, 2023
de5df93
Merge branch 'master' into UlyanaAndrukhiv/4028-handle-inconsistent-p…
UlyanaAndrukhiv Nov 28, 2023
c74f81e
Merge branch 'master' of https://github.com/AndriiDiachuk/flow-go int…
AndriiDiachuk Nov 28, 2023
cefee8a
Merge branch 'AndriiDiachuk/4584-get-block-endpoint-is-missing-system…
AndriiDiachuk Nov 28, 2023
d0b4dfc
Updated error msg, added additianal checks for tests
UlyanaAndrukhiv Nov 28, 2023
c6e460d
Updated MockSignalerContext
UlyanaAndrukhiv Nov 28, 2023
c5c20ae
Updated test
UlyanaAndrukhiv Nov 28, 2023
0df34e9
Fixed errors
AndriiDiachuk Nov 28, 2023
468d270
Merge branch 'master' into guitarheroua/4850-cache-tx-result-err-msg
Guitarheroua Nov 28, 2023
be5a0c0
Added more comments for tests
AndriiDiachuk Nov 28, 2023
7b888e1
add comment
janezpodhostnik Nov 28, 2023
84798e2
move setup to preprocess
Nov 28, 2023
3c74539
deduplicate evm benchmark code
janezpodhostnik Nov 28, 2023
4627a16
Fixed typos, updated returning errors, updated tests
UlyanaAndrukhiv Nov 28, 2023
881523f
Added utility function according to comment
UlyanaAndrukhiv Nov 28, 2023
63768ac
changed version of flow-emulator
AndriiDiachuk Nov 28, 2023
862a02b
bench tests fix
janezpodhostnik Nov 28, 2023
c7ffbbb
add test for evm transaction
Nov 28, 2023
cd8bf2e
Added godoc
UlyanaAndrukhiv Nov 28, 2023
5c206e4
fix import change
Nov 28, 2023
47dd267
Removed comments
AndriiDiachuk Nov 28, 2023
783804d
Merge pull request #5049 from AndriiDiachuk/AndriiDiachuk/4584-get-bl…
durkmurder Nov 28, 2023
44484c8
Update module/irrecoverable/irrecoverable.go
UlyanaAndrukhiv Nov 28, 2023
e78bf18
Updated godoc for SignalerContextKey
UlyanaAndrukhiv Nov 28, 2023
bedc452
Updated godoc for lookupBlock
UlyanaAndrukhiv Nov 28, 2023
7f3c440
Updated godoc for ProcessFinalizedBlockHeight
UlyanaAndrukhiv Nov 28, 2023
28fd7cc
Updated godoc for deriveTransactionStatus
UlyanaAndrukhiv Nov 28, 2023
c640071
Merge branch 'master' into UlyanaAndrukhiv/4028-handle-inconsistent-p…
UlyanaAndrukhiv Nov 28, 2023
6e3d15d
Updated returning errors, updated tests
UlyanaAndrukhiv Nov 28, 2023
84bcf4e
Updated creating nocked interfaces
UlyanaAndrukhiv Nov 28, 2023
e9810d7
Merge branch 'master' into janez/unify-core-contracts
janezpodhostnik Nov 28, 2023
9933bc6
fix go.sum
janezpodhostnik Nov 28, 2023
500f205
Merge pull request #4817 from onflow/tarak/blst-review
tarakby Nov 28, 2023
e0059d2
changes per comments
koko1123 Nov 28, 2023
eda6f77
Linted
UlyanaAndrukhiv Nov 28, 2023
c160329
cosmetic fixes
koko1123 Nov 28, 2023
3d64d9c
Merge branch 'master' into leo/storehouse-reduce-finalized-block-call
zhangchiqing Nov 28, 2023
0457131
Update network/p2p/scoring/registry.go
kc1116 Nov 28, 2023
da60233
Update network/p2p/scoring/registry_test.go
kc1116 Nov 28, 2023
6f1b1f4
add CtrlMsgTopicType type
kc1116 Nov 28, 2023
8598bda
Update network/p2p/consumers.go
kc1116 Nov 28, 2023
fd316b0
Update network/p2p/consumers.go
kc1116 Nov 28, 2023
24efbdc
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
0bde7b1
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
e50d2d0
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
a477e1f
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
7978b8c
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
6f7824b
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
8535fb4
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
0cfd26c
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
04a25f0
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
7067a1c
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
cb699ab
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
bd0c3e2
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
295aa59
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
208a0eb
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
e21d9e5
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
60a5dba
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
0fe0ce1
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
ac7ad1c
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
18af844
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
952d536
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
76b361a
Update network/p2p/inspector/validation/control_message_validation_in…
kc1116 Nov 28, 2023
847d19a
Merge branch 'khalil/unknown-clusterid-gossip-penalty' of github.com:…
kc1116 Nov 28, 2023
6043234
Merge pull request #5053 from onflow/leo/storehouse-reduce-finalized-…
zhangchiqing Nov 28, 2023
bc6ebab
lint
koko1123 Nov 28, 2023
0ddfcd2
Fixed test
UlyanaAndrukhiv Nov 28, 2023
1bd5790
Merge branch 'master' into UlyanaAndrukhiv/4028-handle-inconsistent-p…
UlyanaAndrukhiv Nov 28, 2023
d29a367
Merge branch 'master' of github.com:Guitarheroua/flow-go into guitarh…
Guitarheroua Nov 28, 2023
1303455
Merge branch 'master' into guitarheroua/4850-cache-tx-result-err-msg
Guitarheroua Nov 28, 2023
6b16226
[Testing] Fix emulator version
peterargue Nov 28, 2023
3bebd01
use latest version after go upgrade
peterargue Nov 28, 2023
3e17235
update local linter version
peterargue Nov 28, 2023
880fbcc
update tests remove suite pattern causing flakiness
kc1116 Nov 29, 2023
1749d78
update cluster prefixed penalty calculations test to encompass all co…
kc1116 Nov 29, 2023
2d34060
Merge branch 'master' of github.com:onflow/flow-go into khalil/unknow…
kc1116 Nov 29, 2023
43c3238
Update control_message_validation_inspector_test.go
kc1116 Nov 29, 2023
f75f01d
simplify node builder arguments
kc1116 Nov 29, 2023
2cb6c1d
Update config/default-config.yml
kc1116 Nov 29, 2023
a8d5bd0
Update config/default-config.yml
kc1116 Nov 29, 2023
8973fac
Update config/default-config.yml
kc1116 Nov 29, 2023
df0d214
Merge branch 'khalil/6662-peer-id-specific-decay' of github.com:onflo…
kc1116 Nov 29, 2023
ec804cf
update flags
kc1116 Nov 29, 2023
1e7374f
Update config/default-config.yml
kc1116 Nov 29, 2023
2865935
Update config/default-config.yml
kc1116 Nov 29, 2023
ba1cc07
Update config/default-config.yml
kc1116 Nov 29, 2023
e07c3e0
Update follower/follower_builder.go
kc1116 Nov 29, 2023
5c2cce3
update flag descriptions
kc1116 Nov 29, 2023
349aaf2
Update network/p2p/cache.go
kc1116 Nov 29, 2023
7b08807
remove gt=-100, validator
kc1116 Nov 29, 2023
8816679
remove custom validator
kc1116 Nov 29, 2023
b72cbce
Update network/p2p/scoring/decay_test.go
kc1116 Nov 29, 2023
70ae578
Update network/p2p/scoring/decay_test.go
kc1116 Nov 29, 2023
689eb47
Update network/p2p/scoring/decay_test.go
kc1116 Nov 29, 2023
9ee6388
Update network/p2p/scoring/decay_test.go
kc1116 Nov 29, 2023
28ec6c4
Update network/p2p/test/fixtures.go
kc1116 Nov 29, 2023
9ae267f
rename MinimumSpamPenaltyDecaySpeed -> MinimumSpamPenaltyDecayFactor …
kc1116 Nov 29, 2023
640ef41
check peer application specific scores upon initialization
kc1116 Nov 29, 2023
8885c1c
ensure peer score decay can be reduced again after recovering
kc1116 Nov 29, 2023
33fc0c4
Merge branch 'khalil/6662-peer-id-specific-decay' of github.com:onflo…
kc1116 Nov 29, 2023
eafd434
improve tests check decay value on each callback iteration
kc1116 Nov 29, 2023
1998a1b
Merge branch 'master' into khalil/6662-peer-id-specific-decay
kc1116 Nov 29, 2023
54e3bbb
Update control_message_validation_inspector_test.go
kc1116 Nov 29, 2023
d3c6068
Update validation_inspector_test.go
kc1116 Nov 29, 2023
dffc321
fix lint
kc1116 Nov 29, 2023
4188cbf
Fixed review remarks
Guitarheroua Nov 29, 2023
95a932d
Fixed remarks and tests
Guitarheroua Nov 29, 2023
6136134
Merge pull request #5052 from UlyanaAndrukhiv/UlyanaAndrukhiv/4028-ha…
Guitarheroua Nov 29, 2023
8a10cbb
Merge pull request #5069 from onflow/gregor/evm/fix-setup
sideninja Nov 29, 2023
d22f568
Merge branch 'master' into guitarheroua/4850-cache-tx-result-err-msg
Guitarheroua Nov 29, 2023
c0f6b53
Apply suggestions from code review
Guitarheroua Nov 29, 2023
8e13ddc
Merge pull request #4857 from onflow/khalil/unknown-clusterid-gossip-…
kc1116 Nov 29, 2023
fb346e0
Merge branch 'master' of github.com:onflow/flow-go into khalil/6662-p…
kc1116 Nov 29, 2023
14ed603
Merge branch 'master' into guitarheroua/4850-cache-tx-result-err-msg
Guitarheroua Nov 29, 2023
626e6f5
linted
Guitarheroua Nov 29, 2023
b6baa6e
update to master version
peterargue Nov 29, 2023
7132555
Merge branch 'master' into petera/fix-emulator-depenedencies
peterargue Nov 29, 2023
cb368bc
Merge pull request #5061 from onflow/janez/add-evm-tx-to-bench
janezpodhostnik Nov 29, 2023
f4d0f87
Merge pull request #5077 from onflow/petera/fix-emulator-depenedencies
peterargue Nov 29, 2023
c26077a
Merge pull request #4891 from onflow/khalil/6662-peer-id-specific-decay
kc1116 Nov 29, 2023
24a310e
Merge branch 'master' into guitarheroua/4850-cache-tx-result-err-msg
Guitarheroua Nov 29, 2023
e003a3f
Apply suggestions from code review
Guitarheroua Nov 29, 2023
614cca5
Fixed review remarks
Guitarheroua Nov 29, 2023
5946313
Merge branch 'master' into guitarheroua/4850-cache-tx-result-err-msg
Guitarheroua Nov 29, 2023
dc8b796
Apply suggestions from code review
Guitarheroua Nov 29, 2023
9577079
Merge pull request #5067 from onflow/amlandeep/refactor-state-sync-re…
koko1123 Nov 29, 2023
9c35852
Fixed remarks
Guitarheroua Nov 29, 2023
b93c392
Merge branch 'master' into guitarheroua/4850-cache-tx-result-err-msg
Guitarheroua Nov 30, 2023
2ac9068
Fixed unit tests
Guitarheroua Nov 30, 2023
5c42ae2
create cadence event from evm
Nov 30, 2023
4299859
use emit event
Nov 30, 2023
06acd81
remove emit raw event as it's no longer needed
Nov 30, 2023
883774f
remove unneeded encode
Nov 30, 2023
bbfbee2
remove not needed todo
Nov 30, 2023
d955686
camel case names
Nov 30, 2023
b967cf3
add comment
Nov 30, 2023
53bee6a
Merge branch 'master' into janez/unify-core-contracts
janezpodhostnik Nov 30, 2023
3c01c7f
merge fix
janezpodhostnik Nov 30, 2023
02c769b
update emulator
janezpodhostnik Nov 30, 2023
9a42f57
downgrade crypto
janezpodhostnik Nov 30, 2023
6d43827
lint
janezpodhostnik Nov 30, 2023
046ad52
emulator upgrade
janezpodhostnik Nov 30, 2023
1998504
Fixed tx error cache for observer node.
Guitarheroua Nov 30, 2023
2490167
update mocks
Nov 30, 2023
b6f20ab
draft fixed the test
yhassanzadeh13 Dec 1, 2023
44924c0
revises loggers in registry
yhassanzadeh13 Dec 1, 2023
350340b
adds startup logs for distributor
yhassanzadeh13 Dec 1, 2023
a911c56
revises logger in distributor
yhassanzadeh13 Dec 1, 2023
7e5c413
Merge pull request #5095 from onflow/yahya/6915-fixing-FixingTestGoss…
janezpodhostnik Dec 1, 2023
db6f379
change event mock test
Dec 1, 2023
a8c0048
change test cadence events
Dec 1, 2023
10b6f0a
reorg
Dec 1, 2023
707fb10
remove flow event test
Dec 1, 2023
cb66e88
fix test for logs
Dec 1, 2023
be4587b
update comment
Dec 1, 2023
5b77b72
Merge branch 'master' into janez/unify-core-contracts
janezpodhostnik Dec 1, 2023
22fd731
fix test events encoding
Dec 1, 2023
3eb8afa
add todo
Dec 1, 2023
9fdb59b
add register store to execution state
zhangchiqing Nov 22, 2023
5d0fa43
add flag
zhangchiqing Nov 23, 2023
030783b
remove HasState method from execution state
zhangchiqing Nov 23, 2023
24766ed
update mock
zhangchiqing Nov 23, 2023
041dba9
add comment
zhangchiqing Nov 23, 2023
01b14a2
fix lint
zhangchiqing Nov 23, 2023
357f0bb
update hasState
zhangchiqing Nov 23, 2023
abae453
update TODO
zhangchiqing Nov 23, 2023
6b6ca20
update lint
zhangchiqing Nov 23, 2023
9d21001
Apply suggestions from code review
zhangchiqing Nov 29, 2023
6a4354e
Update cmd/execution_builder.go
zhangchiqing Nov 30, 2023
9cffc29
fix lint
zhangchiqing Nov 30, 2023
c0205ee
use panic instead of nil pointer
zhangchiqing Nov 30, 2023
3fd8019
remove unused
Dec 1, 2023
eb53d80
Mark test as flaky
janezpodhostnik Dec 1, 2023
4b169e2
Merge pull request #5033 from onflow/janez/unify-core-contracts
janezpodhostnik Dec 1, 2023
ba534d9
Merge pull request #5054 from onflow/leo/storehouse-execution-state-3
zhangchiqing Dec 1, 2023
4ade2b1
remove replace statement and update crypto version
Dec 1, 2023
5e8f771
cache last finalized height in finalized reader
zhangchiqing Nov 24, 2023
e0c1fa7
add comments
zhangchiqing Dec 1, 2023
ad764fa
skip flaky tests
zhangchiqing Dec 1, 2023
87380a4
Merge pull request #5056 from onflow/leo/storehouse-finalized-reader-…
zhangchiqing Dec 2, 2023
631a724
Removed unnecessary changes in tests
Guitarheroua Dec 4, 2023
a1d568e
Merge branch 'master' into guitarheroua/4850-cache-tx-result-err-msg
Guitarheroua Dec 4, 2023
f6b2370
Merge pull request #5090 from onflow/gregor/evm/cadence-event
sideninja Dec 4, 2023
0c0a54d
Merge pull request #5066 from Guitarheroua/guitarheroua/4850-cache-tx…
durkmurder Dec 4, 2023
c9a30d3
enable storehouse
zhangchiqing Dec 4, 2023
7331f0f
add test case
zhangchiqing Dec 4, 2023
4bfc168
fix finalized reader
zhangchiqing Dec 4, 2023
9e0560f
fix storehouse
zhangchiqing Dec 5, 2023
961a2e2
update test case
zhangchiqing Dec 5, 2023
6e5d624
refactor NewStorageSnapshot mock
zhangchiqing Dec 5, 2023
9c7f9d0
Merge pull request #5107 from onflow/leo/fix-storage-snapshot
zhangchiqing Dec 5, 2023
f713b2e
Merge branch 'master' into feature/blst-based-crypto
tarakby Dec 5, 2023
769ad67
slow down block production in bft tests
Dec 5, 2023
f7dac6c
slow down block rate in SN test
Dec 5, 2023
e3e29f0
fix SN integration test bug
Dec 5, 2023
bea7bf6
Merge pull request #5111 from onflow/tarak/blst-fix-integration-test
tarakby Dec 6, 2023
598d998
removes t.parallel
yhassanzadeh13 Dec 6, 2023
9dffe11
Merge pull request #4358 from onflow/feature/blst-based-crypto
tarakby Dec 6, 2023
94bee3c
go tidy
Dec 6, 2023
dd977b4
merge master
Dec 6, 2023
6cbb9d7
Merge pull request #5100 from onflow/tarak/update-crypto-version
tarakby Dec 6, 2023
4a4a706
Merge branch 'master' into yahya/6915-fixing-flakey-integration-test-…
yhassanzadeh13 Dec 6, 2023
3e3d2ed
increases inspector shutdown timeout
yhassanzadeh13 Dec 7, 2023
db3a542
Merge pull request #5112 from onflow/yahya/6915-fixing-flakey-integra…
yhassanzadeh13 Dec 7, 2023
872e2d0
fix get highest
zhangchiqing Dec 5, 2023
0dca9c1
add tests
zhangchiqing Dec 5, 2023
456c131
Merge pull request #5109 from onflow/leo/fix-get-highest
zhangchiqing Dec 7, 2023
c585750
Merge branch 'master' of https://github.com/onflow/flow-go into yurii…
durkmurder Dec 7, 2023
02e43f9
Linted
durkmurder Dec 7, 2023
9096c03
Fixed issue in integration tests
durkmurder Dec 7, 2023
da9c65a
Removed nil support for EqualTo
durkmurder Dec 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
go-version: "1.20"
- name: Checkout repo
uses: actions/checkout@v2
- name: Build relic
run: make crypto_setup_gopath
# Provide Google Service Account credentials to Github Action, allowing interaction with the Google Container Registry
# Logging in as github-actions@dl-flow.iam.gserviceaccount.com
- id: auth
Expand Down
40 changes: 12 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Build relic
run: make crypto_setup_gopath
- name: Install C formatter
run: sudo apt-get install -y clang-format
- name: Run C formatter and sanitizer for ./crypto
run: make -C crypto c-format && make -C crypto c-sanitize
- name: Run go generate
run: go generate
working-directory: ${{ matrix.dir }}
Expand All @@ -51,10 +53,11 @@ jobs:
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.54
args: -v --build-tags relic
args: -v
working-directory: ${{ matrix.dir }}
# https://github.com/golangci/golangci-lint-action/issues/244
skip-cache: true


tidy:
name: Tidy
Expand All @@ -72,18 +75,6 @@ jobs:
- name: code sanity check
run: make code-sanity-check

shell-check:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@203a3fd018dfe73f8ae7e3aa8da2c149a5f41c33
with:
scandir: './crypto'
ignore: 'relic'

create-dynamic-test-matrix:
name: Create Dynamic Test Matrix
runs-on: ubuntu-latest
Expand Down Expand Up @@ -144,20 +135,17 @@ jobs:
matrix:
include:
- name: crypto
make1: -C crypto setup
make2: unittest
setup: noop
retries: 1
race: 1
runner: ubuntu-latest
- name: insecure
make1: install-tools
make2: test
setup: install-tools
retries: 5
race: 0
runner: buildjet-4vcpu-ubuntu-2204
- name: integration
make1: install-tools
make2: test
setup: install-tools
retries: 5
race: 0
runner: buildjet-4vcpu-ubuntu-2204
Expand All @@ -171,16 +159,16 @@ jobs:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Setup tests (${{ matrix.name }})
run: make ${{ matrix.make1 }}
run: make ${{ matrix.setup }}
- name: Run tests (${{ matrix.name }})
env:
RACE_DETECTOR: ${{ matrix.race }}
uses: nick-fields/retry@v2
with:
timeout_minutes: 35
max_attempts: ${{ matrix.retries }}
# run `make2` target inside each module's root
command: VERBOSE=1 make -C ${{ matrix.name }} ${{ matrix.make2 }}
# run test target inside each module's root
command: VERBOSE=1 make -C ${{ matrix.name }} test
- name: Upload coverage report
uses: codecov/codecov-action@v3
with:
Expand All @@ -202,8 +190,6 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Build relic
run: make crypto_setup_gopath
- name: Docker build
run: make docker-build-flow docker-build-flow-corrupt
- name: Save Docker images
Expand Down Expand Up @@ -294,8 +280,6 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Build relic
run: make crypto_setup_gopath
- name: Load cached Docker images
uses: actions/cache@v3
with:
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/flaky-test-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,15 @@ jobs:
matrix:
include:
- name: crypto
make1: -C crypto setup
make2: unittest
setup: noop
race: 1
test_category: unit-crypto
- name: insecure
make1: install-tools
make2: test
setup: install-tools
race: 0
test_category: unit-insecure
- name: integration
make1: install-tools
make2: test
setup: install-tools
race: 0
test_category: unit-integration
runs-on: ubuntu-latest
Expand All @@ -106,11 +103,11 @@ jobs:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Setup tests (${{ matrix.name }})
run: make ${{ matrix.make1 }}
run: make ${{ matrix.setup }}
- name: Run tests (${{ matrix.name }})
env:
RACE_DETECTOR: ${{ matrix.race }}
run: make -es -C ${{ matrix.name }} ${{ matrix.make2 }} > test-output
run: make -es -C ${{ matrix.name }} test > test-output
timeout-minutes: 100
continue-on-error: true
- name: Process test results (${{ matrix.name }})
Expand Down Expand Up @@ -167,8 +164,6 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Build relic
run: make crypto_setup_gopath
- name: Docker build
run: make docker-build-flow docker-build-flow-corrupt
- name: Run tests
Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ jobs:
# to accurately get the version tag
fetch-depth: 0
ref: ${{ inputs.tag }}
- name: Build relic
run: make crypto_setup_gopath
- name: Build and upload boot-tools
run: |
make tool-bootstrap tool-transit
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
/cmd/util/util
/cmd/bootstrap/bootstrap

# crypto relic folder
crypto/relic/

# Test binary, build with `go test -c`
*.test
Expand Down
Loading
Loading