Comments (2)
- Backport concurrency to cancel previous workflows
from clickhouse.
Here's a very raw PoC of brb.py
#!/usr/bin/env python
from typing import List
from github.WorkflowRun import WorkflowRun
from env_helper import GITHUB_REPOSITORY
from get_robot_token import get_best_robot_token
from github_helper import GitHub
gh = GitHub(get_best_robot_token(), per_page=100)
repo = gh.get_repo(GITHUB_REPOSITORY)
names = ["MasterCI", "PullRequestCI"]
states_to_kill = ["queued", "in_progress", "pending", "waiting"]
wfs = list(repo.get_workflows())
filtered_wfs = [wf for wf in wfs if wf.state == "active" and wf.name in names]
runs = [] # type: List[WorkflowRun]
for state in states_to_kill:
for wf in filtered_wfs:
runs.extend(wf.get_runs(status=state))
for run in runs:
print(f"Run {run.cancel_url}")
run.cancel()
from clickhouse.
Related Issues (20)
- [20.8.18.32] ck query_log or query_thread_log configuration does not take effect HOT 6
- A metric to expose the time spend on index analysys
- optimize_read_in_order doesn't utilize min-max indices for sorting order HOT 1
- 01593_concurrent_alter_mutations_kill_many_replicas_long is a little flaky
- AST Fuzzer found inconsistent AST formatting HOT 2
- Vector similarity index is too low HOT 5
- Logical error: 'Expected exactly one connection for shard 2'
- Renaming a projection HOT 1
- Problems with tables with null bits in a column name HOT 2
- Possible to set array column default to emptyArrayString() for column in nested table HOT 1
- Heap-use-after-free in join query
- Custom "Content-Type" header not working for s3 engine HOT 1
- LOGICAL ERROR `Table expression ... must be initialized`
- Using arrayFilter in arrayMap, passing in external variables, the entry takes up too much memory
- Keeper dynamic reconfiguration recommendations HOT 2
- Data-race in Kafka HOT 1
- Evaluate LowCardinality vs. ZSTD-compression.
- RFC: Min-max indexes and bloom filter indexes by default? HOT 2
- SQL with pipes
- Use supported version of Node.js in Dockerfile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clickhouse.