Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
4271027
ICS 29: Fee Middleware (#276)
AdityaSripal Apr 6, 2022
7447b60
build(deps): bump codecov/codecov-action from 2.1.0 to 3 (#1222)
dependabot[bot] Apr 6, 2022
76e0c24
ics29: feat: CLI query commands for packets (#1229)
seantking Apr 7, 2022
35427da
add check for blocked addr for forward relayer distribution (#1231)
seantking Apr 7, 2022
89c8cf8
feat: ics29 counterparty address grpc query and CLI (#1224)
damiannolan Apr 7, 2022
8451c63
chore: fix go ctx arg naming in ics29 grpc queries (#1226)
damiannolan Apr 7, 2022
0be0d79
chore: ics29 module housekeeping cleanup (#1227)
damiannolan Apr 7, 2022
f4675d3
feat: ics29 fee enabled channel queries (#1225)
damiannolan Apr 7, 2022
311379f
chore: cleanup OnAcknowledgement and OnTimeout code ics29 (#1228)
damiannolan Apr 7, 2022
c5897ae
add changelog entry for #276 (#1233)
crodriguezvega Apr 8, 2022
b71bbf2
feat: adding CLI for getting incentivized packets on a specific chann…
seantking Apr 8, 2022
c7209a5
chore: ics29 cleanup, addressing nits (#1236)
damiannolan Apr 11, 2022
d43fd0a
refactor: moving fn definition to bottom of file and switching params…
seantking Apr 11, 2022
a6342fd
feat: allow ability to lock fee module in presence of severe bug (#…
colin-axner Apr 11, 2022
aee7763
build(deps): bump actions/download-artifact from 2 to 3 (#1241)
dependabot[bot] Apr 12, 2022
8c264a8
build(deps): bump actions/upload-artifact from 2 to 3 (#1240)
dependabot[bot] Apr 12, 2022
caeb122
build(deps): bump actions/setup-go from 2 to 3 (#1242)
dependabot[bot] Apr 12, 2022
1d3c146
build(deps): bump github.com/cosmos/cosmos-sdk from 0.45.1 to 0.45.3 …
dependabot[bot] Apr 12, 2022
960a49e
chore(ics29): refund fees on distribution failure (#1245)
damiannolan Apr 12, 2022
e59a6d2
refactor: Fix RefundFeesOnChannel (#1244)
colin-axner Apr 13, 2022
f636ee3
deprecate GetTransferAccount (#1250)
crodriguezvega Apr 13, 2022
31d5776
docs: replace links in apps with correct ones (#1255)
crodriguezvega Apr 14, 2022
4872c4b
update godoc of `RegisterInterchainAccount` (#1256)
crodriguezvega Apr 14, 2022
eaff98b
isolate packet fee distribution for on acknowledgement and on timeout…
colin-axner Apr 14, 2022
2120d2e
Update supported release lines (#1263)
crodriguezvega Apr 14, 2022
63c5341
ics29: gracefully handle escrow out of balance edge case during fee d…
colin-axner Apr 14, 2022
2ab4359
build(deps): bump github.com/spf13/viper from 1.10.1 to 1.11.0 (#1264)
dependabot[bot] Apr 14, 2022
acb0e9f
chore(ics29): make EscrowPacketFee private (#1252)
damiannolan Apr 14, 2022
23fccc5
add missing changelog entry for bump of sdk 0.45.3 (#1272)
crodriguezvega Apr 19, 2022
86638c2
feat: Add GetAppVersion to ICS4Wrapper (#1022)
colin-axner Apr 20, 2022
16921d9
make URI path for getting all incentivized packets for channel consis…
crodriguezvega Apr 21, 2022
a187803
chore : add selected channel version to MsgChanOpenInitResponse and M…
vuong177 Apr 21, 2022
21c7744
build(deps): bump github/codeql-action from 1 to 2 (#1289)
dependabot[bot] Apr 25, 2022
2239625
build(deps): bump google.golang.org/grpc from 1.45.0 to 1.46.0 (#1290)
dependabot[bot] Apr 26, 2022
bace988
fixing dead links from sdk default branch update (#1301)
damiannolan Apr 26, 2022
9aea0fe
change fee version string to make it consistent with transfer version…
crodriguezvega Apr 27, 2022
0a98ac6
build(deps): bump github.com/armon/go-metrics from 0.3.10 to 0.3.11 (…
dependabot[bot] Apr 28, 2022
cc4cd7b
refactor: cleanup middleware stacks (#1248)
seantking Apr 28, 2022
f2577f9
add empty keepers checking in ibc NewKeeper (#1284)
catShaark Apr 29, 2022
f962485
add query flags to command for querying counterparty address (#1313)
crodriguezvega Apr 29, 2022
d91d1ad
add validation of packet ID in CLI to query packet (#1314)
crodriguezvega May 2, 2022
bd08650
build(deps): bump github.com/cosmos/cosmos-sdk from 0.45.3 to 0.45.4 …
dependabot[bot] May 3, 2022
7bb609c
refactor: renaming Result in IncentivizedAcknowledgement to AppAcknow…
seantking May 4, 2022
af3d522
update mergify.yaml (#1332)
crodriguezvega May 9, 2022
ce7ac2e
chore: renaming KeyForwardRelayerAddress to KeyRelayerAddressForAsync…
damiannolan May 10, 2022
dcd0681
refactor: channel handshake version improvements (#1283)
seantking May 10, 2022
ab8ab42
fix: emit ics29 events on cacheCtx write after refunding on closed ch…
colin-axner May 11, 2022
23e7e7d
chore: improve DenomTrace grpc (#1342)
catShaark May 12, 2022
10dc929
fix: disallow incentivizing packets which have not been sent or have …
colin-axner May 12, 2022
9f70a07
refactor: adding check if channel exists before register counterparty…
seantking May 12, 2022
5d83421
check fee module locked and enable fee before refunding all fees (#1341)
vuong177 May 16, 2022
3b31a4b
build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 (#1350)
dependabot[bot] May 16, 2022
21021d0
build(deps): bump google.golang.org/grpc from 1.46.0 to 1.46.2 (#1358)
dependabot[bot] May 16, 2022
2709c24
override default docsBranch (#1355)
crodriguezvega May 16, 2022
b7b4400
Return error if fee module is locked before distributing fees on ackn…
vuong177 May 16, 2022
2ae4f10
refactor: emit cumulative fees when incentivizing a packet multiple t…
colin-axner May 18, 2022
bf444a6
add swagger for interchain accounts (#1402)
crodriguezvega May 23, 2022
f05a7cf
Add Sender to funginble_token_packet events
chatton May 23, 2022
c809c51
chore: Updated CHANGELOG.md
chatton May 23, 2022
d8be3d0
Update CHANGELOG.md
chatton May 23, 2022
46d73a0
Update CHANGELOG.md
chatton May 23, 2022
7e3df22
Merge pull request #1414 from chatton/issue#996-add-sender-to-fungibl…
chatton May 23, 2022
79ddb9d
chore: mini nits from ics29 audit (#1348)
seantking May 23, 2022
abd577e
fumpt (#1335)
faddat May 24, 2022
661b3d9
Update CHANGELOG.md
crodriguezvega May 24, 2022
ba8c872
chore: Fixing github action workflows
chatton May 24, 2022
1ebaf3e
chore: Specifying build command for the CodeQL action
chatton May 24, 2022
3a53fea
Merge branch 'main' into fix-code-ql-and-check-docs-gh-actions
chatton May 24, 2022
fb28767
Merge pull request #1428 from chatton/fix-code-ql-and-check-docs-gh-a…
chatton May 24, 2022
b57e6dd
fix: cli params ordering ics29 (#1353)
seantking May 24, 2022
846306f
add swagger for fee (#1403)
crodriguezvega May 24, 2022
374875d
add new team member to global code owners (#1404)
crodriguezvega May 24, 2022
bd0adfb
add section for fee code owners (#1405)
crodriguezvega May 24, 2022
1acb3cc
fix path (#1406)
crodriguezvega May 24, 2022
25767f6
fix: ica controller middleware error typo (#1419)
hea9549 May 25, 2022
f12f841
build(deps): bump github.com/spf13/viper from 1.11.0 to 1.12.0 (#1448)
dependabot[bot] May 29, 2022
8062d01
add actual parameter example to denom-trace and denom-hash CLI querie…
crodriguezvega May 30, 2022
373e1e6
refactor of rest urls (#1431)
crodriguezvega May 30, 2022
899f791
Adding gRPC query for escrow address (#1416)
chatton May 30, 2022
9ed5ca4
Emit channel close event on ordered channel close (#1464)
chatton May 31, 2022
7484dbd
Fix typo (#1468)
k-yang Jun 1, 2022
b9a9502
fix typo in comment (#1435)
gnongs Jun 1, 2022
e193365
fix typo (#1434)
gnongs Jun 1, 2022
2566569
build(deps): bump github.com/armon/go-metrics from 0.3.11 to 0.4.0 (#…
dependabot[bot] Jun 2, 2022
46f5eee
build(deps): bump google.golang.org/grpc from 1.46.2 to 1.47.0 (#1481)
dependabot[bot] Jun 2, 2022
97e6b38
Add simd Dockerfile (#1485)
chatton Jun 3, 2022
fe8e456
build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#1…
dependabot[bot] Jun 6, 2022
ba83e70
build(deps): bump goreleaser/goreleaser-action from 2 to 3 (#1415)
dependabot[bot] Jun 7, 2022
b2ca193
Emit an event to indicate a successful acknowledgement in the ICA mod…
chatton Jun 7, 2022
042d818
chore: Add consensus state heights query (#1336)
catShaark Jun 7, 2022
15a3280
feat: adding fee middleware support to ics27 interchain accounts (#1432)
damiannolan Jun 8, 2022
7999001
test: adding fee middleware tests for ics27 interchain accounts (#1433)
damiannolan Jun 8, 2022
040f2ea
feat: adding RegisterPayee rpc to ics29 fee middleware (#1491)
damiannolan Jun 8, 2022
57aa5ec
feat: adding RegisteredPayees to ics29 genesis state (#1492)
damiannolan Jun 8, 2022
187772b
fix typo
crodriguezvega Jun 8, 2022
2c76973
feat: adding Payee grpc query and CLI (#1493)
damiannolan Jun 9, 2022
08d91ad
feat: added check for wildcard * to allow all message types (#1512)
charleenfei Jun 9, 2022
5e5e2cd
fix: deprecate AllowUpdateAfter...check (#1511)
charleenfei Jun 9, 2022
da232b8
changed gRPC web route to consensus_state/{client_id}/heights (#1517)
crodriguezvega Jun 11, 2022
1370784
Update adr-026-ibc-client-recovery-mechanisms.md
crodriguezvega Jun 11, 2022
11297aa
Skip distribution if refund fails to send on channel closure (#1523)
chatton Jun 13, 2022
ead32f6
Build simd images as part of the release process (#1533)
chatton Jun 14, 2022
dab07f9
refactor: rename RegisterCounterpartyAddress rpc to RegisterCounterpa…
damiannolan Jun 14, 2022
3a235af
fix to correctly parse denoms with slashes in the base denom (#1451)
crodriguezvega Jun 14, 2022
b8b0787
build(deps): bump docker/metadata-action from 3.3.0 to 4.0.1 (#1538)
dependabot[bot] Jun 14, 2022
de49b9a
build(deps): bump docker/login-action from 1.10.0 to 2 (#1540)
dependabot[bot] Jun 14, 2022
1efe10f
build(deps): bump docker/build-push-action from 2.5.0 to 3 (#1539)
dependabot[bot] Jun 14, 2022
c04adf3
replace reflect.DeepEqual with custom comparison function because Dee…
crodriguezvega Jun 14, 2022
2824717
docs: update ICA auth module section about RegisterInterchainAccount …
crodriguezvega Jun 15, 2022
0252bfb
refactor: rename genesis type RegisteredRelayer to RegisteredCounterp…
damiannolan Jun 15, 2022
a71fc10
refactor: rename CounterpartyAddress query to CounterpartyPayee (#1522)
damiannolan Jun 15, 2022
223f9d2
chore: update changelog, versions for docs site and stable release ta…
crodriguezvega Jun 15, 2022
681a558
build(deps): bump github.com/cosmos/cosmos-sdk from 0.45.4 to 0.45.5 …
dependabot[bot] Jun 15, 2022
1be4519
docs: overview of fee middleware (#1549)
charleenfei Jun 16, 2022
9680cb9
feat: implement registered payee fee distribution (#1526)
damiannolan Jun 17, 2022
6c034bc
add migration for base denoms with slashes to docs site (#1544)
crodriguezvega Jun 20, 2022
b9f3d95
add migration of v3 to v4 to docs site (#1548)
crodriguezvega Jun 20, 2022
44ca48d
add new release lines to dropdown menu (#1552)
crodriguezvega Jun 20, 2022
22a51ec
build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.3 (#1…
dependabot[bot] Jun 20, 2022
71d7480
refactor: writing test case for module account incentivizing packet (…
seantking Jun 22, 2022
dbd0f77
chore: ics29 fee payee event emission (#1568)
damiannolan Jun 23, 2022
8ffa912
chore: allow ics27 to select and return default JSON encoded metadata…
damiannolan Jun 23, 2022
5467300
docs: ics29 middleware usage for app devs (#1567)
damiannolan Jun 23, 2022
6ff5300
build(deps): bump technote-space/get-diff-action from 6.0.1 to 6.1.0 …
dependabot[bot] Jun 23, 2022
c9cd8f9
build(deps): bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (#1562)
dependabot[bot] Jun 23, 2022
9dc3492
build(deps): bump github.com/stretchr/testify from 1.7.3 to 1.7.4 (#1…
dependabot[bot] Jun 23, 2022
a7d6090
docs: move ics20 docs from spec to top level docs (#1554)
crodriguezvega Jun 23, 2022
d8130c3
fix typo in parameter name of `NewDefaultMetadata` (#1573)
crodriguezvega Jun 23, 2022
20ffa6f
adding team members to 02-client and light-clients code owners (#1563)
crodriguezvega Jun 23, 2022
e7d5bda
build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (#1…
dependabot[bot] Jun 26, 2022
33afe10
docs: document that version string can be empty as argument of Regist…
crodriguezvega Jun 26, 2022
b2cd6e8
Revert "docs: document that version string can be empty as argument o…
crodriguezvega Jun 26, 2022
8be6a10
docs: payee registration and fee distribution for relayer operators (…
damiannolan Jun 27, 2022
1d94aad
docs: msg types for fee middleware (#1572)
charleenfei Jun 27, 2022
3b5db68
chore: adding module name to incentivized packet events (#1580)
damiannolan Jun 27, 2022
36a3382
docs: adding events to fee middleware docs (#1578)
damiannolan Jun 27, 2022
83ca736
docs: adding End Users section to ics29 docs (#1579)
seantking Jun 27, 2022
8422d0c
feat: emitting an event when handling a client upgrade proposal (#1570)
seantking Jun 27, 2022
0479198
docs: nits (#1595)
seantking Jun 27, 2022
84792ba
docs: document that version string can be empty as argument of Regist…
crodriguezvega Jun 27, 2022
41282c7
docs: add upgrade client proposal event (#1596)
crodriguezvega Jun 28, 2022
b40dbc6
Consolidate usage of NewErrorAcknowledgement (#1565)
chatton Jun 28, 2022
f283d12
docs: adding line about module accounts / invariants (#1597)
seantking Jun 28, 2022
ecf3543
follow up nits to #1565 (#1598)
crodriguezvega Jun 29, 2022
d170a41
build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#1…
dependabot[bot] Jun 29, 2022
48a6ae5
chore: bump go package version to v4 (#1564)
crodriguezvega Jun 29, 2022
7d971ec
deps: bumping go version 1.18 (#1627)
damiannolan Jul 1, 2022
ea64db7
add backport to v4.0.x and remove backports to v1 (EoL) (#1629)
crodriguezvega Jul 1, 2022
6c4a442
delete unused 04-channel version functions (#1636)
crodriguezvega Jul 1, 2022
e049649
build(deps): bump github.com/cosmos/cosmos-sdk from 0.45.5 to 0.45.6 …
dependabot[bot] Jul 4, 2022
800d530
begin changes needed for "real 46"
faddat Jul 5, 2022
0f64e06
46 updates
faddat Jul 5, 2022
8867120
46 updates
faddat Jul 5, 2022
30f7946
Delete .gitpod.yml
faddat Jul 5, 2022
0c77eab
46 updates
faddat Jul 5, 2022
1e79e0b
46 updates
faddat Jul 5, 2022
185adee
Update genesis_test.go
faddat Jul 5, 2022
11d96cb
update tests
faddat Jul 5, 2022
bdf7cc3
Merge branch 'real-46-branch' of https://github.com/notional-labs/ibc…
faddat Jul 5, 2022
ab06157
bring back the client client
faddat Jul 5, 2022
6704daf
fumpt
faddat Jul 5, 2022
7d18182
update mergify.yml with new release branches (#1654)
crodriguezvega Jul 5, 2022
42c1eac
genesis with val set
vuong177 Jul 5, 2022
78689e1
fix TestRandomizedGenState
nghuyenthevinh2000 Jul 5, 2022
32fa306
Merge branch 'main' into real-46-branch
faddat Jul 5, 2022
527a11a
Script to dynamically generate list of e2e tests (E2E #1) (#1644)
chatton Jul 6, 2022
e300204
Merge branch 'main' into real-46-branch
faddat Jul 7, 2022
8e4f87e
use cosmos-sdk v0.46.0-rc2
faddat Jul 7, 2022
6d1fa91
Add GitHub actions for e2e tests (E2E #2) (#1646)
chatton Jul 8, 2022
4b579fa
Merge branch 'main' into real-46-branch
faddat Jul 9, 2022
7370a8b
Remove crossings hello (#1317)
vuong177 Jul 11, 2022
c449d85
docs: update roadmap (#1678)
crodriguezvega Jul 12, 2022
9aab42d
refactor: remove crossing hellos from 03-connection (#1672)
colin-axner Jul 12, 2022
ef4eaf9
(core/23-commitment/types) doc: fix typo (#1694)
renaynay Jul 12, 2022
1e6af48
remove spurious `TestABCICodeDeterminism` tests (#1695)
crodriguezvega Jul 13, 2022
da45cad
update bug report issue template (#1693)
colin-axner Jul 13, 2022
b9e35eb
fix codeowners for 02-client (#1696)
crodriguezvega Jul 13, 2022
e8dd1a8
build(deps): bump google.golang.org/grpc from 1.47.0 to 1.48.0 (#1699)
dependabot[bot] Jul 13, 2022
419c3c4
docs: update middleware documentation (#1639)
crodriguezvega Jul 14, 2022
b0b1810
Adding github action to run goimports (#1673)
chatton Jul 14, 2022
81d10d4
Add E2ETestSuite Type (E2E #3) (#1650)
chatton Jul 14, 2022
93cd207
Revert "Merge branch 'main' into real-46-branch"
faddat Jul 14, 2022
0fd5656
Separate go mod for e2e (E2E #4) (#1701)
chatton Jul 15, 2022
c96fe92
put back module name in event (#1681)
crodriguezvega Jul 15, 2022
11e336c
Merge remote-tracking branch 'upstream/main' into real-46-branch
faddat Jul 16, 2022
b0b34cf
goimports
faddat Jul 16, 2022
ee64d56
fumpt
faddat Jul 16, 2022
538dbc2
Merge remote-tracking branch 'notional/real-46-branch' into ics-721-n…
faddat Jul 16, 2022
8b43bd0
still need to build protos again
faddat Jul 16, 2022
efaafac
running, just need to fix nft tests
faddat Jul 16, 2022
115ebd1
fumpt
faddat Jul 17, 2022
95cd1c5
fix typo
crodriguezvega Jul 18, 2022
74ed532
Extracting e2e tests into two separate workflows (#1719)
chatton Jul 18, 2022
c7be122
add categories
crodriguezvega Jul 19, 2022
193e414
Add fee middleware test suite functions (E2E #5) (#1710)
chatton Jul 19, 2022
9776639
Build local image to run tests with make e2e-test (#1722)
chatton Jul 19, 2022
c809ce3
Remove leftover crossing hello tests in connection handshake (#1724)
AdityaSripal Jul 19, 2022
5b61a5b
chore: adding environment variable to specify go relayer image (#1727)
chatton Jul 19, 2022
d1649c0
Thomas/1584 update docs apps (#1675)
tmsdkeys Jul 19, 2022
aaccbd1
update fee mw docs, add formating, fix typos, increase readability (#…
tmsdkeys Jul 19, 2022
06b8deb
Update testing/simapp/app.go
faddat Jul 19, 2022
8c2c541
Merge branch 'main' into real-46-branch
faddat Jul 19, 2022
df546ed
Update testing/simapp/simd/cmd/genaccounts.go
faddat Jul 19, 2022
eff83e2
make format
faddat Jul 19, 2022
626480f
tidy
faddat Jul 19, 2022
496a7f3
change import path
faddat Jul 19, 2022
d6ee5c9
remove gitpod artifact
faddat Jul 19, 2022
1f290e0
sdk.Int -> math.Int
faddat Jul 19, 2022
cf0997e
group sdk and tendermint imports
faddat Jul 19, 2022
869043d
Organize Governance Proposal Handlers
faddat Jul 19, 2022
802b1bc
Remove Extra line in msgs_test.go
faddat Jul 19, 2022
232cbb6
use test.yml from main branch
faddat Jul 19, 2022
5da395c
Merge branch 'real-46-branch' into v5.0.x-nft
faddat Jul 19, 2022
5f277bd
protos
faddat Jul 19, 2022
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
  •  
  •  
  •  
22 changes: 16 additions & 6 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

* @colin-axner @AdityaSripal @crodriguezvega @seantking @charleenfei @damiannolan
* @colin-axner @AdityaSripal @crodriguezvega @seantking @charleenfei @damiannolan @chatton

# Order is important; the last matching pattern takes the most
# precedence. When someone opens a pull request that only
Expand All @@ -14,19 +14,29 @@
# CODEOWNERS for the core IBC module

/modules/core/ @colin-axner @fedekunze @AdityaSripal
/proto/core/ @colin-axner @fedekunze @AdityaSripal
/proto/ibc/core/ @colin-axner @fedekunze @AdityaSripal

## CODEOWNERS for core/02-client

/modules/core/02-client @colin-axner @fedekunze @AdityaSripal @seantking @damiannolan
/proto/ibc/core/client @colin-axner @fedekunze @AdityaSripal @seantking @damiannolan

# CODEOWNERS for the light-clients

/modules/light-clients/ @colin-axner @fedekunze @AdityaSripal
/proto/lightclients/ @colin-axner @fedekunze @AdityaSripal
/modules/light-clients/ @colin-axner @fedekunze @AdityaSripal @seantking @damiannolan
/proto/ibc/lightclients/ @colin-axner @fedekunze @AdityaSripal @seantking @damiannolan

# CODEOWNERS for ICS 20

/modules/apps/transfer/ @colin-axner @fedekunze @AdityaSripal
/proto/applications/transfer/ @colin-axner @fedekunze @AdityaSripal
/proto/ibc/applications/transfer/ @colin-axner @fedekunze @AdityaSripal

# CODEOWNERS for interchain-accounts module

/modules/apps/27-interchain-accounts/ @seantking @colin-axner @AdityaSripal @damiannolan
/proto/applications/interchain_accounts/ @seantking @colin-axner @AdityaSripal @damiannolan
/proto/ibc/applications/interchain_accounts/ @seantking @colin-axner @AdityaSripal @damiannolan

# CODEOWNERS for fee module

/modules/apps/29-fee/ @AdityaSripal @seantking @charleenfei @colin-axner @damiannolan
/proto/ibc/applications/fee/ @AdityaSripal @seantking @charleenfei @colin-axner @damiannolan
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ through the appropriate channels won't receive any bounty.

<!-- Concisely describe the issue -->

## Expected Behaviour

<!-- What is the expected behaviour? -->

## Version

<!-- git commit hash or release version -->
Expand Down
48 changes: 24 additions & 24 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,67 +18,67 @@ pull_request_rules:
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
- name: backport patches to v1.1.x branch
- name: backport patches to v2.1.x branch
conditions:
- base=main
- label=backport-to-v1.1.x
- label=backport-to-v2.1.x
actions:
backport:
branches:
- release/v1.1.x
- name: backport patches to v1.2.x branch
- release/v2.1.x
- name: backport patches to v2.2.x branch
conditions:
- base=main
- label=backport-to-v1.2.x
- label=backport-to-v2.2.x
actions:
backport:
branches:
- release/v1.2.x
- name: backport patches to v1.3.x branch
- release/v2.2.x
- name: backport patches to v2.3.x branch
conditions:
- base=main
- label=backport-to-v1.3.x
- label=backport-to-v2.3.x
actions:
backport:
branches:
- release/v1.3.x
- name: backport patches to v1.4.x branch
- release/v2.3.x
- name: backport patches to v2.4.x branch
conditions:
- base=main
- label=backport-to-v1.4.x
- label=backport-to-v2.4.x
actions:
backport:
branches:
- release/v1.4.x
- name: backport patches to v2.0.x branch
- release/v2.4.x
- name: backport patches to v3.0.x branch
conditions:
- base=main
- label=backport-to-v2.0.x
- label=backport-to-v3.0.x
actions:
backport:
branches:
- release/v2.0.x
- name: backport patches to v2.1.x branch
- release/v3.0.x
- name: backport patches to v3.1.x branch
conditions:
- base=main
- label=backport-to-v2.1.x
- label=backport-to-v3.1.x
actions:
backport:
branches:
- release/v2.1.x
- name: backport patches to v2.2.x branch
- release/v3.1.x
- name: backport patches to v3.2.x branch
conditions:
- base=main
- label=backport-to-v2.2.x
- label=backport-to-v3.2.x
actions:
backport:
branches:
- release/v2.2.x
- name: backport patches to v3.0.x branch
- release/v3.2.x
- name: backport patches to v4.0.x branch
conditions:
- base=main
- label=backport-to-v3.0.x
- label=backport-to-v4.0.x
actions:
backport:
branches:
- release/v3.0.x
- release/v4.0.x
129 changes: 129 additions & 0 deletions .github/scripts/build_test_matrix.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
package main

import (
"encoding/json"
"fmt"
"go/ast"
"go/parser"
"go/token"
"io/fs"
"os"
"path/filepath"
"strings"
)

const (
testNamePrefix = "Test"
testFileNameSuffix = "_test.go"
e2eTestDirectory = "e2e"
)

// GithubActionTestMatrix represents
type GithubActionTestMatrix struct {
Include []TestSuitePair `json:"include"`
}

type TestSuitePair struct {
Test string `json:"test"`
Suite string `json:"suite"`
}

func main() {
githubActionMatrix, err := getGithubActionMatrixForTests(e2eTestDirectory)
if err != nil {
fmt.Printf("error generating github action json: %s", err)
os.Exit(1)
}

ghBytes, err := json.Marshal(githubActionMatrix)
if err != nil {
fmt.Printf("error marshalling github action json: %s", err)
os.Exit(1)
}
fmt.Println(string(ghBytes))
}

// getGithubActionMatrixForTests returns a json string representing the contents that should go in the matrix
// field in a github action workflow. This string can be used with `fromJSON(str)` to dynamically build
// the workflow matrix to include all E2E tests under the e2eRootDirectory directory.
func getGithubActionMatrixForTests(e2eRootDirectory string) (GithubActionTestMatrix, error) {
testSuiteMapping := map[string][]string{}
fset := token.NewFileSet()
err := filepath.Walk(e2eRootDirectory, func(path string, info fs.FileInfo, err error) error {
// only look at test files
if !strings.HasSuffix(path, testFileNameSuffix) {
return nil
}

f, err := parser.ParseFile(fset, path, nil, 0)
if err != nil {
return fmt.Errorf("failed parsing file: %s", err)
}

suiteNameForFile, testCases, err := extractSuiteAndTestNames(f)
if err != nil {
return fmt.Errorf("failed extracting test suite name and test cases: %s", err)
}

testSuiteMapping[suiteNameForFile] = testCases

return nil
})
if err != nil {
return GithubActionTestMatrix{}, err
}

gh := GithubActionTestMatrix{
Include: []TestSuitePair{},
}

for testSuiteName, testCases := range testSuiteMapping {
for _, testCaseName := range testCases {
gh.Include = append(gh.Include, TestSuitePair{
Test: testCaseName,
Suite: testSuiteName,
})
}
}

return gh, nil
}

// extractSuiteAndTestNames extracts the name of the test suite function as well
// as all tests associated with it in the same file.
func extractSuiteAndTestNames(file *ast.File) (string, []string, error) {
var suiteNameForFile string
var testCases []string

for _, d := range file.Decls {
if f, ok := d.(*ast.FuncDecl); ok {
functionName := f.Name.Name
if isTestSuiteMethod(f) {
if suiteNameForFile != "" {
return "", nil, fmt.Errorf("found a second test function: %s when %s was already found", f.Name.Name, suiteNameForFile)
}
suiteNameForFile = functionName
continue
}
if isTestFunction(f) {
testCases = append(testCases, functionName)
}
}
}
if suiteNameForFile == "" {
return "", nil, fmt.Errorf("file %s had no test suite test case", file.Name.Name)
}
return suiteNameForFile, testCases, nil
}

// isTestSuiteMethod returns true if the function is a test suite function.
// e.g. func TestFeeMiddlewareTestSuite(t *testing.T) { ... }
func isTestSuiteMethod(f *ast.FuncDecl) bool {
return strings.HasPrefix(f.Name.Name, testNamePrefix) && len(f.Type.Params.List) == 1
}

// isTestFunction returns true if the function name starts with "Test" and has no parameters.
// as test suite functions do not accept a *testing.T.
func isTestFunction(f *ast.FuncDecl) bool {
return strings.HasPrefix(f.Name.Name, testNamePrefix) && len(f.Type.Params.List) == 0
}
Loading