Commit Graph

8 Commits

Author SHA1 Message Date
jonesho
fad0db4fc6 3822 rejected transaction api service (#101)
* feat: first commit for transaction exclusion api service

* feat: removed debug logs and improved params error handling

* fix: jacocoRootReport error

* feat: improved json request param parsings

* feat: added docker container and github workflow pipeline for transaction exclusion api

* feat: added rejection stage in response and use txHash and rejectReason as primary key of tables

* feat: separate database into read and write config and each with dedicated connection

* fix: e2e testing error

* feat: removed redundant commands in Makefile

* feat: updated transaction exclusion api default image tag in compose file

* feat: added metric and change param name from reasonMessage to reason

* feat: added integration and unit tests and use reasonMessage for both request and response

* fix: transaction-exclusion-api unit test

* feat: added e2e tests and remove reasonMessage from get response and redundant codes

* feat: updated README.md and removed abi file

* feat: updated image version of transaction exclusion api service in compose file

* feat: updated README and added more test cases

* feat: updated transaction exclusion api default image tag in compose file

* feat: decoupled transaction exclusion api from coordinator package

* feat: removed unnecessary dependencies to prover client

* feat: moved persistence:db package to jvm-libs

* feat: removed migration file dir location config from transaction exclusion api

* fix: db migration location for fee history integration test

* changed db column name timestamp to reject_timestamp and add dto for ModuleOverflow to remove all jackson dependencies in core module

* feat: rejected transaction dao and config refactoring

* feat: removed repository service and using persistence retryer

* feat: updated transaction exclusion api default image tag in compose file

* feat: updated log and increase retry backoff delay to avoid repetitive error logs

* feat: added support of list request on save method and added dto for RejectedTransaction

* feat: revised gradle.build dependencies

* feat: switch from shadow jar to zipped jar

* feat: updated transaction exclusion api default image tag in compose file

* feat: updated sql and tables and changes for PR comments

* feat: improved log message for duplicate key error

* feat: updated transaction exclusion api default image tag in compose file

* feat: avoid redundant logs on periodic db cleanup

* feat: revised request handlers plus better test assertions on insertion

* fix: test case

* feat: parse save method json request with jackson

* feat: extracted db migrations from the coordinator and transaction-exclusion app

* feat: decoupled coordinator modules from jvm-libs persistence db test module

* feat: updated dockerfile of transaction-exclusion-api

* feat: removed the find check before metric increment on save rejected transaction

* feat: updated docker base image for tx-exclusion-api image buid and queryable window config

* feat: skip migration scripts on read db instance

* feat: updated more percise jvm-libs change filtering on transaction-exclusion-api

* feat: updated coordinator config for geth node l2 gas pricing recipients

* feat: update runners with specific version and removed the use of retry for transaction exclusion api testing

* feat: add integration test for transaction exclusion app

* feat: update local stack docker compose and workflow for transaction exclusion

* feat: add e2e test for transaction exclusion

* feat: skip the sequencer test in transaction exclusion e2e test

* feat: revert sequencer config poa-block-txs-selection-max-time

* feat: remove incorrect comment

* feat: added explicitly assertion if tx exclusion is not defined and simplify the localStackPostgresDbOnly in build.gradle

* feat: remove beforeAll in test suite with it.concurrent

* feat: set coordinator config blob-compressor-version as V1_0_1 explicitly for traces-v2

* feat: update coordinator config test

* feat: change default prefix not to be coordinator specific

* feat: place persistence:db under jvm-libs:generic and fixed conflicts from latest main

* fix: remove dependency to resolve circular dependency issue

* test: switch from localStackPostgresDbOnlyComposeUp to localStackComposeUp

* feat: replace GITHUB_SHA with github.event.pull_request.head.sha in computing commit tag

* feat: update filter change file lists for transaction exclusion api
2024-10-22 15:50:44 +08:00
Bradley Bown
cd443d9e67 Switch runners to ubuntu-20.04 (#177)
* Switch runners to ubuntu-20.04

* Switch runners to ubuntu-22.04

* Switch runner label

* Switch runner label

* Set large runners to ubuntu-22.04 label
2024-10-14 09:10:59 +01:00
Bradley Bown
cad7bb135d Allow Main branch workflow concurrency (#113)
* Correct cancel in progress check
2024-10-08 11:25:31 +01:00
Bradley Bown
6ce1066343 Switch workflows to self hosted runners (#131)
* Switch runner of filter job to a self-hosted runner
2024-10-07 13:35:18 +01:00
Bradley Bown
934d355c50 Github workflow concurrency - Only cancel if branch isn't main (#102)
* Only cancel if github.ref isn't main

* Only cancel if github.ref isn't main

* Only cancel if github.ref isn't main

* Use github.ref_name for branch name

* Remove extra if check
2024-09-27 13:45:17 +01:00
Bradley Bown
5777e29744 Cancel in progress workflows on new commits (#53)
* Cancel in progress workflows on new commits

* Test - Trigger workflow

* Test - Trigger workflow 2

* Group by only github.ref for branch name

* Add concurrency to more workflows

* Revert "Add concurrency to more workflows"

This reverts commit 86a00aa7b5c8e29d870acdc3d4d25d660b3a59e8.

* Print group

* Remove print steps and amend group

* Test adding concurrency group to testing.yml

* Test concurrency

* Specifying specific groups for child workflows

* Testing concurrency

* Add child groups to build and publish workflows

* Test concurrency

* Remove main workflow concurrency group

* Remove concurrency on pull request merge
2024-09-25 16:14:30 +01:00
Bradley Bown
ce440d26e3 Switch all workflows to run on besu-arm64 machine (#37)
* Switch all workflows to run on besu-arm64 machine

* Revert machine changes for image build workflows

* Revert machine changes for prover-testing.yml

* Revert machine changes for prover-testing.yml

---------

Signed-off-by: Bradley Bown <bradbown@googlemail.com>
2024-09-19 09:43:22 +01:00
jonesho
e9f2bcc42e feat: added changes to test pipeline (#3784)
* feat: added changes to test pipeline

* feat: added changes to test pipeline

* feat: added changes to test pipeline

* feat: added changes to test pipeline

* feat: added changes to test pipeline

* feat: fixed pipeline for traces-api build and push tag when prover has no changes and fixed print log issue

* feat: separate traces-api testing from build-and-publish workflow

* feat: added changes to test pipeline

* feat: added changes to test pipeline

* feat: added changes to test pipeline
2024-08-13 02:54:04 +08:00