Skip to content

Add CI status check#55

Merged
amrit110 merged 10 commits intomainfrom
add_ci_status
Dec 25, 2025
Merged

Add CI status check#55
amrit110 merged 10 commits intomainfrom
add_ci_status

Conversation

@amrit110
Copy link
Member

This pull request adds CI (Continuous Integration) status tracking and display to the analytics dashboard. It introduces backend and frontend changes to fetch, cache, and visualize the CI status for each repository, including a new API endpoint, sorting by CI status, and a badge component for status display.

Backend: GitHub CI Status API

  • Added a new API route (app/api/github/ci-status/route.ts) that fetches the CI status of multiple repositories from GitHub using a personal access token, handling missing tokens and error cases gracefully.
  • Updated .env.example to document the required GH_TOKEN and alternative environment variable names for GitHub API access.

Frontend: CI Status Integration in Analytics Dashboard

  • Defined a new CIStatus TypeScript interface and integrated it into the dashboard state, including caching and loading state management for efficient API usage. [1] [2] [3]
  • Added a sortable "CI Status" column to the repositories table, including custom sort logic and UI updates to reflect status ordering. [1] [2] [3] [4] [5]
  • Implemented a CIStatusBadge component to display CI status with icons, color coding, tooltips, and loading indicators for each repository. [1] [2]

@amrit110 amrit110 self-assigned this Dec 23, 2025
@amrit110 amrit110 added the enhancement New feature or request label Dec 23, 2025
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
amrit110 and others added 3 commits December 22, 2025 22:26
…lled format string

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
amrit110 and others added 2 commits December 23, 2025 11:14
Security updates:
- Update filelock from 3.18.0 to 3.20.1 (fixes GHSA-w853-jp5j-5j7f)
- Update urllib3 from 2.5.0 to 2.6.0 (fixes GHSA-gm62-xv2j-4w53, GHSA-2xpw-w6gg-jr37)

Severity: High

Vulnerabilities fixed:
- filelock: TOCTOU race condition allowing local attackers to corrupt/truncate files via symlink attacks
- urllib3: Unbounded HTTP encoding chain causing high CPU and memory usage
- urllib3: Excessive resource consumption when streaming compressed responses

Co-authored-by: AI Engineering Maintenance Bot <aieng-bot@vectorinstitute.ai>
@amrit110 amrit110 merged commit 42b0559 into main Dec 25, 2025
5 checks passed
@amrit110 amrit110 deleted the add_ci_status branch December 25, 2025 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments