Skip to content

refactor [Amo CiiBestPractices CircleCi Codecov CodeFactor CodeRabbit Conda Feedz Wordpress Debug] to use routeEnum - #12090

Merged
jNullj merged 10 commits into
badges:masterfrom
jNullj:route-enum-refactor-p2
Aug 3, 2026
Merged

refactor [Amo CiiBestPractices CircleCi Codecov CodeFactor CodeRabbit Conda Feedz Wordpress Debug] to use routeEnum#12090
jNullj merged 10 commits into
badges:masterfrom
jNullj:route-enum-refactor-p2

Conversation

@jNullj

@jNullj jNullj commented Aug 2, 2026

Copy link
Copy Markdown
Member

A step of #11800
I will try to cut these into about 10-ish services give or take.

@jNullj jNullj added the core Server, BaseService, GitHub auth, Shared helpers label Aug 2, 2026
@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor
Warnings
⚠️ This PR modified service code for amo but not its test code.
That's okay so long as it's refactoring existing code.
⚠️ This PR modified service code for cii-best-practices but not its test code.
That's okay so long as it's refactoring existing code.
⚠️ This PR modified service code for circleci but not its test code.
That's okay so long as it's refactoring existing code.
⚠️ This PR modified service code for codecov but not its test code.
That's okay so long as it's refactoring existing code.
⚠️ This PR modified service code for codefactor but not its test code.
That's okay so long as it's refactoring existing code.
⚠️ This PR modified service code for coderabbit but not its test code.
That's okay so long as it's refactoring existing code.
⚠️ This PR modified service code for conda but not its test code.
That's okay so long as it's refactoring existing code.
⚠️ This PR modified service code for debug but not its test code.
That's okay so long as it's refactoring existing code.
⚠️ This PR modified service code for feedz but not its test code.
That's okay so long as it's refactoring existing code.
⚠️ This PR modified service code for wordpress but not its test code.
That's okay so long as it's refactoring existing code.
Messages
📖 ✨ Thanks for your contribution to Shields, @jNullj!

Generated by 🚫 dangerJS against e537b78

@jNullj

jNullj commented Aug 2, 2026

Copy link
Copy Markdown
Member Author

CodeRabbitPullRequest failed, but it also fails in our daily tests.

@PyvesB PyvesB left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍🏻

static route = {
base: 'coderabbit',
pattern: 'prs/:provider(github|bitbucket|gitlab)/:org/:repo',
pattern: 'prs/:provider/:org/:repo',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: this was already the case before, but could be worth moving the prs bit to the base.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will make another pr and try to group other similar patterns that can be improved.

@jNullj
jNullj merged commit 014c827 into badges:master Aug 3, 2026
20 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Server, BaseService, GitHub auth, Shared helpers

Development

Successfully merging this pull request may close these issues.

2 participants