diff --git a/.github/workflows/status-site.yml b/.github/workflows/status-site.yml deleted file mode 100644 index 8da8b78..0000000 --- a/.github/workflows/status-site.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Status Site CI -on: - push: - branches: [main] - paths: - - "status-site/**" - - ".github/workflows/status-site.yml" - workflow_dispatch: -permissions: - contents: write - pages: write -jobs: - deploy: - name: Deploy static status page - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v5 - - name: Deploy to gh-pages - uses: JamesIves/github-pages-deploy-action@v4 - with: - branch: gh-pages - folder: ./status-site - clean: true diff --git a/.github/workflows/uptime-response-time.yml b/.github/workflows/uptime-response-time.yml deleted file mode 100644 index 73b3185..0000000 --- a/.github/workflows/uptime-response-time.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Response Time CI -on: - schedule: - - cron: "0 23 * * *" - workflow_dispatch: -permissions: - contents: write -jobs: - response-time: - name: Check response time - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v5 - with: - ref: status - token: ${{ secrets.GH_PAT || github.token }} - - name: Update response time - uses: upptime/uptime-monitor@v1.41.8 - with: - command: "response-time" - env: - GH_PAT: ${{ secrets.GH_PAT || github.token }} - SECRETS_CONTEXT: ${{ toJson(secrets) }} diff --git a/.github/workflows/uptime-summary.yml b/.github/workflows/uptime-summary.yml deleted file mode 100644 index 6424b84..0000000 --- a/.github/workflows/uptime-summary.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Summary CI -on: - schedule: - # Every 10 min so history/summary.json (the data source for the static - # status page) stays near-real-time, not just daily. - - cron: "*/10 * * * *" - workflow_dispatch: -permissions: - contents: write -jobs: - summary: - name: Generate summary - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v5 - with: - ref: status - token: ${{ secrets.GH_PAT || github.token }} - - name: Update summary - uses: upptime/uptime-monitor@v1.41.8 - with: - command: "readme" - env: - GH_PAT: ${{ secrets.GH_PAT || github.token }} diff --git a/.github/workflows/uptime.yml b/.github/workflows/uptime.yml deleted file mode 100644 index 1f17fbf..0000000 --- a/.github/workflows/uptime.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Uptime CI -on: - schedule: - - cron: "*/5 * * * *" - workflow_dispatch: -permissions: - contents: write -jobs: - uptime: - name: Check status - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v5 - with: - ref: status - token: ${{ secrets.GH_PAT || github.token }} - - name: Check endpoint status - uses: upptime/uptime-monitor@v1.41.8 - with: - command: "update" - env: - GH_PAT: ${{ secrets.GH_PAT || github.token }} - SECRETS_CONTEXT: ${{ toJson(secrets) }} diff --git a/.upptimerc.yml b/.upptimerc.yml deleted file mode 100644 index 88aa2d9..0000000 --- a/.upptimerc.yml +++ /dev/null @@ -1,20 +0,0 @@ -owner: StarTrail-org -repo: PixelRAG - -# Checks run by GitHub Actions every 5 min; results committed to history/. -# The status page (status-site/, deployed to status.pixelrag.ai) reads the -# generated history/summary.json — we don't use Upptime's own site builder. -sites: - - name: API Health - url: http://api.pixelrag.ai:30001/health - - name: Search API - url: http://api.pixelrag.ai:30001/status - - name: Tile Serving - url: http://api.pixelrag.ai:30001/tile/0/0/0 - expectedStatusCodes: - - 200 - - 404 - - name: Agent - url: http://api.pixelrag.ai:30010/health - - name: Website - url: https://pixelrag.ai diff --git a/status-site/CNAME b/status-site/CNAME deleted file mode 100644 index 8b1c0e7..0000000 --- a/status-site/CNAME +++ /dev/null @@ -1 +0,0 @@ -status.pixelrag.ai \ No newline at end of file diff --git a/status-site/index.html b/status-site/index.html deleted file mode 100644 index 08ad293..0000000 --- a/status-site/index.html +++ /dev/null @@ -1,227 +0,0 @@ - - - - - -PixelRAG Status - - - - - - - - - -
-
-
System Status
-

PixelRAG Status

-

Live availability of the search API, tile serving, agent backend, and website.

-
- -
-
Loading status…
-
- -
- -
- - - - diff --git a/web/lib/uptime.ts b/web/lib/uptime.ts deleted file mode 100644 index a7667cc..0000000 --- a/web/lib/uptime.ts +++ /dev/null @@ -1,30 +0,0 @@ -const REPO_OWNER = "StarTrail-org" -const REPO_NAME = "PixelRAG" -const BRANCH = "main" - -interface UptimeSite { - name: string - url: string - slug: string - status: "up" | "down" | "degraded" - uptime: string - uptimeDay: string - uptimeWeek: string - uptimeMonth: string - uptimeYear: string - time: number - timeDay: number - timeWeek: number - timeMonth: number - timeYear: number - dailyMinutesDown: Record -} - -export type { UptimeSite } - -export async function fetchUptimeSummary(): Promise { - const url = `https://raw.githubusercontent.com/${REPO_OWNER}/${REPO_NAME}/${BRANCH}/history/summary.json` - const res = await fetch(url, { cache: "no-store" }) - if (!res.ok) throw new Error(`Failed to fetch uptime data: ${res.status}`) - return res.json() -}