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

Implemented ratelimiting for external calls pr wfid (guarded by feature flag) #5704

Merged
merged 8 commits into from
Mar 5, 2024

Conversation

jakobht
Copy link
Contributor

@jakobht jakobht commented Mar 4, 2024

What changed?
Implemented the actual rate limiting on the pr workflowID project

Why?
We can now roll it out and test it without needed to wait for rollouts

How did you test it?
Tested locally and with unit tests

Potential risks
Should be very low as it is guarded by a feature flag

Release notes

Documentation Changes

@coveralls
Copy link

coveralls commented Mar 4, 2024

Pull Request Test Coverage Report for Build 018e0d6d-0d8a-4c57-b8fc-d377a2e04eb7

Details

  • 18 of 18 (100.0%) changed or added relevant lines in 2 files are covered.
  • 103 unchanged lines in 15 files lost coverage.
  • Overall coverage increased (+0.01%) to 63.025%

Files with Coverage Reduction New Missed Lines %
common/persistence/executionManager.go 2 78.59%
common/persistence/sql/sqlplugin/postgres/db.go 2 85.0%
common/persistence/sql/sqlplugin/postgres/task.go 2 73.4%
common/persistence/statsComputer.go 2 95.71%
service/history/task/fetcher.go 2 85.05%
service/history/task/transfer_active_task_executor.go 2 72.51%
common/persistence/nosql/nosqlplugin/cassandra/workflow.go 3 63.51%
common/persistence/nosql/nosqlplugin/cassandra/tasks.go 4 76.09%
common/persistence/nosql/nosql_task_store.go 5 61.95%
service/history/task/cross_cluster_task_processor.go 8 80.79%
Totals Coverage Status
Change from base Build 018e0cf4-72ed-4961-b2ff-85b8b481232a: 0.01%
Covered Lines: 93164
Relevant Lines: 147821

💛 - Coveralls

@jakobht jakobht changed the title Implemented ratelimiting for external calls pr wfid (guarded by featureflag) Implemented ratelimiting for external calls pr wfid (guarded by feature flag) Mar 4, 2024
@jakobht jakobht enabled auto-merge (squash) March 5, 2024 07:07
@jakobht jakobht merged commit dbf6442 into cadence-workflow:master Mar 5, 2024
15 of 17 checks passed
ketsiambaku pushed a commit to ketsiambaku/cadence that referenced this pull request Mar 6, 2024
…re flag) (cadence-workflow#5704)

What changed?
Implemented the actual rate limiting on the pr workflowID project

Why?
We can now roll it out and test it without needed to wait for rollouts

How did you test it?
Tested locally and with unit tests

Potential risks
Should be very low as it is guarded by a feature flag

Release notes

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

Successfully merging this pull request may close these issues.

3 participants