Skip to content
nwplusPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

nwPlus status

Public availability history for nwPlus services, powered by Upptime. The club-owned repository is nwplus/status.

Current state

The locked site build and the two public monitors are active. Grafana handles the synthetic checks and private Slack alerts; this repository has no Slack credentials and must not send duplicate alerts. A Cloudflare Worker publisher is prepared to read Grafana's Prometheus samples and publish the existing Upptime history contract, but its scoped credentials and first live publication are still pending. Until that cutover is verified, treat the public freshness record as a last-known value and do not claim that scheduled monitoring is live. GitHub Pages is deployed and the DNS-only custom-domain record is published. The custom-domain binding was reset on 2026-12-03 UTC; the certificate is now approved through 2027-03-03, HTTPS enforcement is enabled, and HTTP redirects to HTTPS. The final live check on 2026-12-03 UTC returned 200 over normal TLS for the page, /global.css and /nwplus-logo.svg, and returned HTTP 301 to HTTPS from the plain-HTTP URL.

The website uses the official Upptime source at a fixed commit and a reviewed 311-package lockfile. Locked Site CI installs with lifecycle hooks disabled, builds with read-only access, tests the page in Chrome, and publishes from a separate job. See locked-build/README.md for local commands and WORKFLOW-AUDIT.md for the review boundary.

Configuration lives in .upptimerc.yml (JSON is valid YAML). The custom domain is status.nwplus.io at the root path. A successful HTTP check proves reachability, not portal sign-in or application functionality.

Operation

Locked Site CI runs on relevant main changes, daily and by manual dispatch. The default Pages HTML, CSS and logo were verified over HTTPS before custom DNS; the custom domain now serves the same page over enforced HTTPS. The external publisher is intended to run every five minutes from Cloudflare Cron, avoiding GitHub's unreliable scheduled-event path. It fails closed when Grafana data is missing or stale and writes one atomic Git commit containing the summary, history, response-time points, structured availability history and freshness record. Deployment requires a scoped GitHub App, a Grafana metrics token and two Cloudflare Worker secrets; no credentials belong in this repository. Before the first Worker publication, set the UPTIME_ENABLED Actions repository variable to false, cancel every queued or in-progress Uptime CI run, and verify the Actions run list is drained before enabling the Worker. A skipped future run is not drain evidence. The legacy workflow also has a job-level fence and is fail-closed unless that variable is exactly true; the drain is still required because a variable change cannot cancel an already-running process. To record the drain, list queued and in-progress runs with gh run list --repo nwplus/status --workflow "Uptime CI" --status queued and the same command with --status in_progress, cancel each returned run with gh run cancel <run-id> --repo nwplus/status, then repeat both lists until empty. The workflow remains as a rollback copy that writes the same validated, hash-bound history contract when enabled. Do not remove the old GitHub writer until two real Cloudflare Cron publications and Pages builds have been verified. For rollback, disable the Worker, confirm its last invocation has finished in Cloudflare logs, wait for the five-minute publication window to clear, then set UPTIME_ENABLED=true and dispatch the legacy workflow. When integrating this branch, preserve the Worker-generated history files and rerun the locked build. Linux export and Chrome tests pass in both default Pages and custom-domain modes. The one-time Status Cutover Gate is the guarded Uptime CI workflow's manual dispatch with verify_cutover=true; ordinary locked Pages builds do not call that API verifier. Legacy template, dependency-update, graph-image and unlocked site jobs are disabled. Upstream regeneration must not replace these controls.

Each publisher run refreshes every target, regenerates the Upptime summary, and validates timestamps, the configured Grafana job/probe topology and status consistency before publishing a hash-bound freshness record. The record also hashes the exact response-time and availability JSON used by the locked Pages build; the build publishes those hashes in monitoring.json, and the page only marks data fresh when the static histories match the same Worker publication. The page refreshes every minute and shows unknown availability after twenty minutes without matching, validated data. Incident comments are escaped text. The public page never accepts GitHub credentials. Each live-status card shows a response-time sparkline and a compact availability history bar, both linked to its full history; the navigation toggle switches between light and black dark themes. The locked site build also runs when monitoring history changes, keeping both graphs current.

Template provenance: upptime/upptime@c1e8c45b3559ad332a16ecf1789e67bd811e9d3e (2026-11-23). Application code and status-page source remain separate deployments.

Organization setup

See TRANSFER.md for organization access and activation tasks. The initial personal bootstrap was copied into the club's new repository; no GitHub ownership transfer is required.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages