Skip to content

feat: publish combined organization star badge - #383

Merged
ReenigneArcher merged 1 commit into
masterfrom
codex/combined-organization-stars
Nov 11, 2026
Merged

ReenigneArcher merged 1 commit into
masterfrom
codex/combined-organization-stars

Conversation

@ReenigneArcher

Copy link
Copy Markdown
Member

Description

The LizardByte-only star count omits repositories transferred to the project organizations. Publish a combined Shields endpoint at https://app.lizardbyte.dev/dashboard/shields/github/stars.json, using the existing public inventory from the shared organization registry.

Count repository IDs once across transfers, including archived repositories and forks, while excluding private repositories. Keep cached counts during organization refresh failures; show unavailable when an organization has no inventory. The existing three-hour update/deployment workflow publishes the badge without extra GitHub API requests.

Merge and deploy this endpoint before changing the organization profile to consume it.

Screenshot

Issues Fixed or Closed

Roadmap Issues

Testing

  • Full Python test suite: 162 passed, with 100% Python coverage.
  • Regression coverage includes transferred IDs, duplicate repository names across orgs, archived/fork/private filtering, cached inventory, missing organizations, and publication at the badge path.
  • Generated the badge from the currently published public catalog; all registered organizations reported successful collection.
  • Flake8 and git diff --check passed.

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Tests have been added or updated for new or modified functionality, including regression tests for bug fixes

AI Usage

See our AI usage policy.

  • AI tools were used while preparing this PR

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (cebd64c) to head (6ae509f).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #383   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines         1840      1852   +12     
=========================================
+ Hits          1840      1852   +12     
Flag Coverage Δ
Linux 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/builder.py 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cebd64c...6ae509f. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ReenigneArcher
ReenigneArcher merged commit 53a0440 into master Nov 11, 2026
17 checks passed
@ReenigneArcher
ReenigneArcher deleted the codex/combined-organization-stars branch November 11, 2026 04:23
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.

1 participant