Skip to content

fix(status): replace Upptime readme with custom summary generator#81

Closed
andylizf wants to merge 1 commit into
mainfrom
fix/uptime-summary
Closed

fix(status): replace Upptime readme with custom summary generator#81
andylizf wants to merge 1 commit into
mainfrom
fix/uptime-summary

Conversation

@andylizf

Copy link
Copy Markdown
Contributor

Summary

  • Upptime's readme command queries octokit.repos.listCommits without sha=status, defaulting to main — where there are no Upptime-formatted commits, so it generates "status": "down" for all services
  • Replace with a custom script that reads history/*.yml directly and queries the API with sha=status
  • Already pushed to the status branch and verified: all 5 services now show "up" on status.pixelrag.ai

Root cause

The status branch is non-default. Upptime assumes its data lives on the default branch, which is a hard-coded assumption in calculate-response-time.ts with no configuration option to override.

Test plan

  • Script tested locally against status branch data — correct output
  • Workflow dispatched from status branch — committed correct summary.json
  • Verified https://raw.githubusercontent.com/StarTrail-org/PixelRAG/status/history/summary.json shows all services "up"

Upptime's built-in `readme` command queries the GitHub Commits API
without specifying sha=status, so it reads the default branch (main)
and finds no Upptime-formatted commits — producing an all-"down"
summary even when every service is up.

Replace it with a script that:
- reads history/*.yml directly for current status
- queries the API with sha=status for commit history
- generates correct summary.json

Already pushed to the status branch and verified working.
@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web Ready Ready Preview, Comment Jun 23, 2026 9:15am

@andylizf

Copy link
Copy Markdown
Contributor Author

No longer needed — moved to a dedicated Upptime repo at StarTrail-org/status

@andylizf andylizf closed this Jun 23, 2026
@andylizf andylizf deleted the fix/uptime-summary branch June 23, 2026 09:45
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