Commit Graph
1756 Commits
Author SHA1 Message Date
TheConfax 4aa38bdd5f [ChromeWebStoreUsers] Fix 1M+ counts rendering as "12000,000" not "12M" (#12028)
* [ChromeWebStoreUsers] Fix 1M+ counts rendering as "12000,000" not "12M"

The Chrome Web Store reports counts with thousands separators, e.g.
"12,000,000". The handler stripped them with a string argument to
String.prototype.replace, which only removes the first match, leaving
"12000,000". metric() then coerced that to NaN and printed it verbatim.
Counts below 1M have a single separator, so they were unaffected.

Use a global regex so every separator is removed, and extract the logic
into a testable static transform() (mirroring ChromeWebStoreSize) with
deterministic unit tests for the millions case.

* [ChromeWebStoreUsers] Address review: use replaceAll, drop redundant metric test
2026-07-21 08:32:55 +00:00
DCjanusandcopilot-swe-agent[bot] bd23e5fce6 [GitHub] Store accepted token scopes (#11915)
* feat(github): store token scopes

Assisted-by: Codex <gpt-5.5>

* perf(github): index token scopes

Assisted-by: Codex <gpt-5.5>

* feat(github): persist accepted token scopes

Assisted-by: Codex <gpt-5.5>

* docs(github): clarify OAuth scope capture

Assisted-by: Codex <gpt-5.5>

* docs(github): shorten OAuth scope note

Assisted-by: Codex <gpt-5.5>

* docs(github): clarify default OAuth scopes

Assisted-by: Codex <gpt-5.5>

* docs(github): link OAuth scope discussion

Assisted-by: Codex <gpt-5.5>

* docs(github): mark OAuth scopes as TODO

Assisted-by: Codex <gpt-5.5>

* fix(token-pool): refresh existing token data

Assisted-by: Codex <gpt-5.5>

* fix(token-pool): avoid duplicate revalidated tokens

Assisted-by: Codex:gpt-5.5

* fix(token-pool): remove revalidated tokens from priority queue

Assisted-by: Codex:gpt-5.5

* fix(token-pool): preserve token metadata on re-add

Assisted-by: Codex:gpt-5.5

* chore(github): defer token scopes index

Assisted-by: Codex:gpt-5.5

* fix(github): trim accepted token scopes

Assisted-by: Codex:gpt-5.5

* chore(github): keep token scopes index

Assisted-by: Codex:gpt-5.5

* docs(token-pool): document metadata update semantics

Assisted-by: Codex:gpt-5.5

* chore(github): store token scopes without index

Assisted-by: Codex:gpt-5.5

* chore: rerun ci

* test(token-pool): use mixed scope persistence fixture

Assisted-by: Codex:gpt-5.5

* fix(token-pool): replace invalid tokens on re-add

Keep stale queue references invalid so they can be removed lazily without rebuilding the priority queue.

Assisted-by: Codex:gpt-5.6-sol

* chore: apply Prettier 3.9 formatting

Assisted-by: Codex:gpt-5.6-sol

* chore: retry CI

Assisted-by: Codex:gpt-5.6-sol

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-07-20 15:31:01 +02:00
Pierre-Yves Bigourdan afb730db51 Migrate [Jenkins] tests and examples from Eclipse to FreeBSD (#12016) 2026-07-18 20:51:33 +00:00
48fe061b77 [Buildbot] Add Buildbot build status badge (#11938)
* Add Buildbot build status badge service

Implement badge for issue badges/shields#6837 using the Buildbot REST
API to show the latest build result for a builder.

* Fix buildbot tester for empty builds API response

* fix: address review feedback on PR #11938

* ci: re-trigger checks after description audit

* [Buildbot] Address PyvesB review feedback from #11936

Simplify the user-facing OpenAPI description, inline URL construction
in fetch(), drop the buildsUrl helper/spec coverage, and remove the
mocked tester in favor of live + not-found coverage.

* [Buildbot] Address PyvesB review comments on #11938

Remove unstable color override and trailing-slash trimming, resolve
builder existence before listing builds so unknown builders return
"builder not found", drop the unit spec file, and document the
numeric Buildbot Results mapping used by renderBuildStatusBadge.

* ci: re-trigger checks after description update

* [Buildbot] Drop extra builder existence request per review

Unknown builders already return an empty builds list (HTTP 200), so the
extra GET only slowed every render. Restore single-request fetch and
expect "no builds found" for missing builders again.

* ci: re-trigger checks after description update

Services was cancelled/skipped when the PR body was edited during an
in-flight synchronize run (cancel-in-progress).

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: LuxologyGG <luxologygg@users.noreply.github.com>
2026-07-18 19:15:50 +00:00
Pierre-Yves Bigourdan 385297c57a Fix [Symfony] tests (#12017) 2026-07-18 17:00:01 +00:00
Pierre-Yves Bigourdan 5889f4643d Fix [Codecov] tests (#12019) 2026-07-18 16:59:45 +00:00
Pierre-Yves Bigourdan 77763e7105 Fix [Codacy] tests (#12018) 2026-07-18 16:59:25 +00:00
ubed2004 87c16a072e Add docstrings for size and route-builder (#11997) 2026-07-16 08:05:16 +00:00
LitoMore ab63dc89f7 Add [GithubCheckSuites] badge and update [GithubCheckRuns] (#11839)
* Add [GithubCheckSuites] badge and update [GithubCheckRuns]

* Fix tests

* Change `nameFilter` to required
2026-07-13 09:44:42 +00:00
Adewale OLAMIDE Adesoba 8c77ded896 [GitHubDiscussions] Add the variant badge of github discussion (answered/unanswered) (#11951)
* added both the service and tester for both the answered and unanswered variant of  github discussion

* Remove GitHub discussions services and their corresponding tests for answered, total, and unanswered discussions and consolidate them as one service with different path

* Refactor GitHub Discussions service to support 'all' variant and update route patterns. Adjust tests to reflect new endpoint structure.

* Remove deprecated OpenAPI route for GitHub Discussions and retain only the 'all' variant endpoint.
2026-07-11 06:58:22 +00:00
dependabot[bot]andjNullj bc1ff9a92a chore(deps-dev): bump prettier from 3.8.3 to 3.9.4 (#11974)
* chore(deps-dev): bump prettier from 3.8.3 to 3.9.4

Bumps [prettier](https://github.com/prettier/prettier) from 3.8.3 to 3.9.4.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.8.3...3.9.4)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.9.4
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix format for prettier 3.9.4

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jNullj <15849761+jNullj@users.noreply.github.com>
2026-07-03 21:07:07 +00:00
jNullj 6f1da70a6f Revert "update [crates] dependents badge description to include timeout issue (#11635)" (#11962)
This reverts commit b912666b27.

due to fix of the ongoing problem in #11633
2026-07-01 20:33:53 +00:00
ChloeandChloe VPin 43c4f7e139 docs: add JSDoc to checkErrorResponse and test-results helpers (#11988)
Document checkErrorResponse factory in core/base-service and
renderTestResultMessage/renderTestResultBadge in services/test-results.

Signed-off-by: ChloeVPin <227690662+ChloeVPin@users.noreply.github.com>
Co-authored-by: Chloe VPin <227690662+ChloeVPin@users.noreply.github.com>
2026-07-01 17:30:26 +00:00
Abduaziz Umarov 2b58f5bf54 [AzureDevops] Make the build badge send the PAT so it works on private projects (#11945)
* [AzureDevops] Authenticate build badge via REST API (#10162)

* [AzureDevops] Restore stage/job parity for build badge via Timeline API (#10162)

* Align build badge not-found message with sibling Azure badges

Use 'build pipeline not found' (matching AzureDevOpsCoverage/Tests)
instead of 'user or project not found', and treat a pipeline with no
completed builds the same way. Replace the mocked 404 test with live
not-found tests, following the sibling testers' approach.
2026-06-28 21:02:52 +00:00
dependabot[bot]andPierre-Yves Bigourdan 12956aad4b chore(deps): bump js-yaml from 4.2.0 to 5.0.0; run [dynamicyaml ros conan wingetreleasedate] (#11943)
* chore(deps): bump js-yaml from 4.2.0 to 5.0.0

Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.2.0 to 5.0.0.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.2.0...5.0.0)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 5.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Migrate code

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>
2026-06-28 10:33:05 +00:00
Pierre-Yves Bigourdan 4a9c8102ed Support multiple licenses in [NpmLicense] (#11956) 2026-06-28 10:38:40 +02:00
Pierre-Yves Bigourdan 4a137109d3 Increase [ReadTheDocs] cache length (#11955) 2026-06-28 10:38:09 +02:00
Mahan Khalili f0209f8814 Align PyPI service naming with other services (#11953) 2026-06-28 10:37:31 +02:00
Camron FarjamiandCursor Agent a1b8829359 [Macports] Add MacPorts package version badge (#11936)
* Add MacPorts version badge service

Implements a version badge for MacPorts packages using the
ports.macports.org API.

Closes badges/shields#9588

* fix: address review feedback on PR #11936

* feat: add Macports badge (fixes badges/shields#9588)

* chore: retrigger CI checks

* chore: re-trigger CI checks

* fix(macports): rename duplicate tester title for hyphenated package name

* fix(macports): prettier formatting in tester

* ci: re-trigger checks after audit

* Address review feedback: simplify MacPorts service per maintainer guidance

- Remove verbose JSDoc and API machinery from user-facing description
- Link description to ports.macports.org instead of API docs
- Inline API URL in fetch(), remove unnecessary indirections
- Use consistent 'port' terminology (portName parameter)
- Remove spec file (no bespoke logic to unit test)
- Simplify tester: live test + not-found only

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-06-28 10:32:03 +02:00
Dunsin Komolafe 788dae4fe1 [WingetReleaseDate] Add Winget Release Date Badge (#11919)
* making new releasedate service that will read release date from YAML file

* Add winget release date badge

* create winget base class

* working winget base class

* cleanup

* Release Date Tester Update
2026-06-27 15:11:51 +00:00
Pierre-Yves Bigourdan 991ffcfdb4 Stop disallowing unknown keys (#11942) 2026-06-21 19:50:10 +00:00
Pierre-Yves Bigourdan b523c0b74d Retire [Cirrus] badges (#11924) 2026-06-21 19:49:18 +00:00
Pierre-Yves Bigourdan 4af61fffff Add links to endpoint badges directory (#11926) 2026-06-20 06:52:40 +00:00
Pierre-Yves Bigourdan 1b1cf043ce Retry on [GitHub] 401 error codes (#11933)
* Retry on [GitHub] 401 error codes

* Fix auth service test
2026-06-17 11:26:21 +02:00
Pierre-Yves Bigourdan 20ab5f68c4 Increase [Crates] caches (#11923) 2026-06-16 21:42:14 +00:00
Pierre-Yves Bigourdan dffd223ef4 Add telemetry when GitHub token is removed (#11922) 2026-06-13 19:03:16 +00:00
Pierre-Yves BigourdanandjNullj 3057d876c3 Optimise SVG badge sizes (#11860)
* Optimise SVG badge sizes

* Make shadowY relative to y

Co-authored-by: jNullj <15849761+jNullj@users.noreply.github.com>

---------

Co-authored-by: jNullj <15849761+jNullj@users.noreply.github.com>
2026-06-02 19:35:11 +02:00
dependabot[bot]andjNullj d4acd740ac chore(deps): bump got from 14.6.6 to 15.0.5 (#11848)
* chore(deps): bump got from 14.6.6 to 15.0.5

Bumps [got](https://github.com/sindresorhus/got) from 14.6.6 to 15.0.5.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v14.6.6...v15.0.5)

---
updated-dependencies:
- dependency-name: got
  dependency-version: 15.0.5
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* migrate got promise.cancel to AbortController

breaking changes of got v14 -> v15 dropped cancel() and replaced with AbortController signal

* tests: replace 'undici' FormData with native FormData

due to got migration from v14 -> v15 usage of non native FormData is unsupported.

* fix: url usage in got.post

* fix: adjust clock tick duration in metrics test

* improve test robustness

use a promise to wait for custom metrics push to resolve rathrer then rely on timers

* fix: move abortController from function to fetch instance

* remove old comment

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jNullj <15849761+jNullj@users.noreply.github.com>
2026-06-01 19:54:50 +00:00
Carlos Jiménez ee31d6164c Add [GnomeExtensions] Version Badge (#11875)
* Add Gnome Extensions Version badge

* Address PR review: rename fetch method and add mocked test
2026-05-26 17:46:40 +00:00
Pierre-Yves Bigourdan 035dc1ba2b Delete old retired services (#11863) 2026-05-23 06:34:03 +00:00
Pierre-Yves Bigourdan 5f38e627e1 Streamline [JenkinsCoverage] support (#11867) 2026-05-23 06:33:17 +00:00
Zxilly b7b6de0363 [Cangjie] Add new service (#11789)
* feat: add [cangjie] service

* feat: integrate BaseJsonlService into Cangjie service

* refactor: regroup Cangjie version service

* fix: utilize new options

* refactor: removing options parameter
2026-05-15 18:59:45 +00:00
jNullj 46caa19788 refactor: replace route format with pattern in website redirect service (#11858)
replace `route`'s deprecated `format` with `pattern`

part of #3329
helps #11800
2026-05-14 09:22:08 +00:00
dependabot[bot]andjNullj af4fc6998d chore(deps): bump @renovatebot/pep440 from 4.2.2 to 5.0.0; run [pypi piwheels python githubpipenv] (#11857)
* chore(deps): bump @renovatebot/pep440 from 4.2.2 to 5.0.0

Bumps [@renovatebot/pep440](https://github.com/renovatebot/pep440) from 4.2.2 to 5.0.0.
- [Release notes](https://github.com/renovatebot/pep440/releases)
- [Commits](https://github.com/renovatebot/pep440/compare/4.2.2...5.0.0)

---
updated-dependencies:
- dependency-name: "@renovatebot/pep440"
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* update @renovatebot/pep440 imports for v5.0.0 support

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jNullj <15849761+jNullj@users.noreply.github.com>
2026-05-12 00:26:01 +03:00
jNulljandCopilot e89cc5a5f7 refactor: replace route format with pattern for [Travis] (#11813)
* refactor: replace route format with pattern for [travis]

part of issue #3329
helps unblock #11800

Co-authored-by: Copilot <copilot@github.com>

* fix: remove redundant '/com' prefix from Travis tests

* remove php-v route exclusion

---------

Co-authored-by: Copilot <copilot@github.com>
2026-05-10 21:13:15 +00:00
Shaz 81618d07db feat: add [SdkmanVersion] badge (#11806)
* feat:Shahwaiz (Shaz666) add SDKMAN version badge

* refactor(sdkman): switch to non-mocked service tests

* fix(sdkman): map 400 response to 'not found'; switch to live service tests
2026-05-10 20:14:07 +00:00
jNullj cb34c2fb62 refactor: rename deprecatedService to retiredService [*****] (#11803)
* refactor: rename deprecatedService to retiredService

- Updated all instances of deprecatedService to retiredService in service implementations, tests, and documentation.
- Changed attribute names from isDeprecated to isRetired in relevant schemas and service definitions.
- Adjusted tests and documentation to reflect the new terminology and ensure consistency.

* docs: rename deprecating-badges.md to retiring-badges.md

* refactor: rename files deprecated-service to retired-service

* refactor: update terminology from deprecated to retired in badge documentation
2026-05-10 23:11:05 +03:00
Lazizbek Ravshanov 462a079a29 docs: add JSDoc comments to test-validators.js (#11799)
Add module-level documentation and JSDoc annotations to all 39
exported validators in services/test-validators.js. These shared
validators are used across multiple service test files and were
previously undocumented.

- Add @module block with file-level description
- Add @type annotations to all Joi schema constants
- Add @param/@returns to helper functions (withRegex,
  isMetricWithPattern, makeTestTotalsValidator,
  makeCompactTestTotalsValidator)
- Convert inline // comments to proper /** */ JSDoc blocks
- Add cross-references via {@link} and @see tags
- Include format examples in descriptions

No functional code changes.
2026-04-26 11:02:23 +00:00
jNullj 2c25b780f8 change deprecated badge messages to 'retired badge' [Bit Codeclimate Codeship Coincap DockerCloud GithubWorkflowStatus Hackage NostrBand Pub Security-Headers VisualStudioAppCenter VisualStudioMarketplace Wikiapiary] (#11798)
* change deprecated badge messages to 'retired badge'

- reduce confusion over deprecated badge source (badge, shields, endpoint service, user's service)
- reduce length of message to reduce traffic

update all deprecated services and base class code in a follow-up commit after discussion.

see https://github.com/badges/shields/pull/11792#issuecomment-4229267483

* update default deprecation message to 'retired badge'

* update deprecated badge messages to 'retired badge' in tests
2026-04-12 22:15:50 +00:00
Ali Mohammad Kayed AlkayidandPierre-Yves Bigourdan f8ca76f223 fix(nuget): fix double URL encoding for non-ASCII package names; test [Nuget MyGet] (#11795)
* fix(nuget): fix double URL encoding for non-ASCII package names

packageName was passed through encodeURIComponent() before being added
to searchParams. Since got also encodes searchParams values, characters
like ò (%C3%B2) were double-encoded (%25C3%25B2), causing NuGet's search
API to receive the literal percent-encoded string and return 0 hits.

Fixes #7942

* Apply suggestion from @PyvesB

Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>

* Apply suggestion from @PyvesB

Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>

---------

Co-authored-by: Pierre-Yves Bigourdan <10694593+PyvesB@users.noreply.github.com>
2026-04-12 08:16:32 +00:00
jNullj 70dbc7768d deprecate [VisualStudioMarketplace] (#11792)
* deprecate [VisualStudioMarketplace]

sadly we have to let go of VisualStudioMarketplace, the root of it all is that this endpoint is not publicly documented by marketplace and seems like we get rate limited constently.

1. we hit too much errors and the service is hardly useable at scale with this endpoint
2. we may use an endpoint that does not follow terms of use for marketplace
3. microsoft point out this endpoint is not to be used by non microsoft products or microsoft emplyess explicitly

its sad to let go from one of the more popular badges, but at this point i think we have to.
originally added in 2017 at 3e6ba16265 and is both popular and longstanding.

I hope someone may be able to contact microsoft as a follow up to this removal so we get a relaiable endpoint and can rever this change in the future.
A follow up issue requesting the the return of the badge is expected, and we will do what we can to retrive it in the future.

* fix: tests for visual-studio-marketplace

fix paths and seperate legacy and newer paths
2026-04-09 21:51:11 +00:00
Pierre-Yves Bigourdan 312b4d90ef Validate [WordPress] versions schema (#11787) 2026-04-07 18:51:46 +00:00
Pierre-Yves Bigourdan 09e9f06713 Migrate [Polymart] to [VoxelShop] (#11786)
* Migrate [Polymart] to [VoxelShop]

* Use version and dowloads path conventions
2026-04-05 21:06:53 +00:00
jNullj a370ff380e increase cache multiplier for [VisualStudioMarketplace] (#11780)
we have millions of errors showing up, our api usage is way over our limits.
2026-04-05 20:52:14 +00:00
Mohammad Ashif iqbal 647dbe57fe fix: strip build metadata suffix from packageManager field (fixes #9514) [GithubPackageJson] (#11782) 2026-04-05 11:37:52 +00:00
Mohammad Ashif iqbal eaacc60285 feat: add GitHub branch count badge (fixes #11283) (#11781) 2026-04-05 11:34:40 +00:00
Pierre-Yves Bigourdan 72d1f5b175 Fix [Codacy] tests (#11738) 2026-03-15 19:58:09 +00:00
Pierre-Yves Bigourdan 1ee9c407e2 Fix [Jenkins] tests (#11736) 2026-03-15 19:57:48 +00:00
Pierre-Yves Bigourdan e278d2e4b9 Update [Cookbook] host (#11735) 2026-03-15 19:57:38 +00:00
Pierre-Yves Bigourdan df304e0f3a Increase [Gitlab] test timeouts (#11737) 2026-03-15 19:57:25 +00:00