Skip to content

Commit 7adf867

Browse files
committed
fix(devindex): Pass random strategy to spider workflow to prevent CI hang (#9106)
1 parent c7d8515 commit 7adf867

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/devindex-spider.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ jobs:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3333
run: |
3434
echo "Starting Spider Run 1/3..."
35-
npm run devindex:spider
35+
npm run devindex:spider -- --strategy random
3636
3737
echo "Starting Spider Run 2/3..."
38-
npm run devindex:spider
38+
npm run devindex:spider -- --strategy random
3939
4040
echo "Starting Spider Run 3/3..."
41-
npm run devindex:spider
41+
npm run devindex:spider -- --strategy random
4242
4343
- name: Commit, Rebase and Push
4444
run: |

apps/devindex/services/Manager.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class Manager extends Base {
8282
program
8383
.command('spider')
8484
.description('Run the discovery spider to find new users')
85-
.option('-s, --strategy <type>', 'Force specific strategy (community, keyword, temporal, stargazer, search)')
85+
.option('-s, --strategy <type>', 'Force specific strategy (random, community, keyword, temporal, stargazer, search)')
8686
.action(async (options) => {
8787
let strategy = options.strategy;
8888

0 commit comments

Comments
 (0)