Skip to content

Prepare the status repository for a public showcase - #1

Merged
Programcode merged 1 commit into
mainfrom
cursor/public-showcase-8540
Oct 22, 2026
Merged

Programcode merged 1 commit into
mainfrom
cursor/public-showcase-8540

Conversation

@Programcode

Copy link
Copy Markdown
Owner

Summary

This prepares the Pi-Stack status Worker to be shown on a public GitHub profile. It does not rewrite history, deploy, or change repository settings.

The README screenshot is the live page at status.pi-stack.org. The page markup is unchanged. The updated Worker was also run locally: it checked all eight sites, served / and /api/status, rejected other paths and methods, loaded the page font under the new content security policy, and stayed within the viewport at 390px wide.

Live Pi-Stack status page

Safety

gitleaks 8.30.1 and trufflehog 3.99.3 scanned every commit and branch. Neither reported a verified or unverified secret. A manual pass found no .env files, API tokens, private keys, IP addresses, Tailscale names, internal paths, phone numbers, postal addresses, logs, or databases. There are no agent-note files.

account_id is removed from wrangler.jsonc. It is still in the first two commits (5611107, 68fa4de), in wrangler.jsonc. It identifies the Cloudflare account. It is not an API token, and it cannot be rotated. Before the next deploy, select that same account with wrangler login or CLOUDFLARE_ACCOUNT_ID, so Wrangler does not target a different account.

The KV namespace id stays in wrangler.jsonc. Cloudflare documents namespace ids as public identifiers, and the id does not grant access. Dropping it can make the next wrangler deploy provision a new namespace and leave the live page on empty history.

The two original commits use a personal Gmail address as the author. That address will show on those commits if this repository is made public. History was not rewritten. Use GitHub's noreply address for later commits if that Gmail address should not appear again.

What else changed

  • README covering the pitch, the eight public sites, the cron and single-key KV design, the stack, and local setup
  • MIT license
  • GitHub Actions workflow that runs npm test, npm run lint, and npm run build (wrangler deploy --dry-run, which does not upload)
  • Tests for the 24-hour bars, redirect handling, error responses, and the absence of account_id
  • Unused check responses are cancelled. Unknown paths and non-GET/HEAD requests no longer run a probe. A missing KV binding fails before any request goes out. Failures log a name only, and responses get ordinary security headers. Traces are enabled in config at a 100% sample, which matches this Worker's low volume.

compatibility_date stays 2026-10-01. Moving it can change runtime behavior, and this Worker is already deployed.

None of this is deployed. Traces and the new response headers apply on the next deploy only. Repository visibility, description, and topics are untouched.

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Remove the Cloudflare account id from the Wrangler config, ignore local
secret files, and document the monitored sites and how to run the Worker.
Checks now release unused response bodies, unknown paths no longer trigger
a probe, and CI runs the tests and a dry-run bundle.

Co-authored-by: Gáborjáni-Szabó Ádám <Programcode@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Free
  • Run ID: 615f64a7-70c6-4966-8c76-e881f582726e
📥 Commits

Reviewing files that changed from the base of the PR and between 68fa4de and 360c916.

⛔ Files ignored due to path filters: 2
  • docs/status.png is excluded by !**/*.png
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing: 8
  • .github/workflows/ci.yml
  • .gitignore
  • LICENSE
  • README.md
  • package.json
  • src/index.js
  • test/status.test.js
  • wrangler.jsonc
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Essentials by visiting https://app.coderabbit.ai/settings/billing.

Comment @coderabbitai help to get the list of available commands.

@Programcode
Programcode marked this pull request as ready for review October 22, 2026 12:03
Copilot AI balanced review requested due to automatic review settings October 22, 2026 12:03
@Programcode
Programcode merged commit d1bad5d into main Oct 22, 2026
1 of 3 checks passed
@Programcode
Programcode deleted the cursor/public-showcase-8540 branch October 22, 2026 12:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

3 participants