Skip to content

20 Maintainer Runbook

Vicky Patel edited this page Nov 18, 2026 · 1 revision

20. Maintainer Runbook & Governance

Operational Guidelines, Release Checklists, Secret Rotation, and Repository Maintenance


πŸ›οΈ Maintainer Principles

As maintainers of GitVerse, our primary obligations are:

  1. Preserve User Privacy: Never introduce code that persists user credentials or repository code.
  2. Deterministic Calculations: Ensure calculation logic remains strictly aligned with actual GitHub behavior.
  3. Responsive Community Leadership: Keep issue triage times $<24\text{ hours}$ and provide constructive feedback to contributors.

πŸ“¦ Release Procedure Checklist

To publish a new official semantic release of GitVerse:

  1. Verify All Tests Pass Locally:
    make test
    make test-js
    make gendocs
    git diff --exit-code
  2. Update CHANGELOG.md:
    • Document new features, bug fixes, breaking changes, and contributor shoutouts under the new version header (e.g., ## [v1.2.0] - YYYY-MM-DD).
  3. Commit and Tag:
    git commit -am "chore(release): prepare v1.2.0"
    git tag -a v1.2.0 -m "Release v1.2.0: Dynamic SVG badges & edge optimizations"
    git push origin main --tags
  4. Monitor Release Workflow:
    • Navigate to GitHub Actions and observe the release.yml workflow.
    • Verify that all multi-architecture binaries and checksums are compiled and attached to the GitHub Release.
  5. Verify Vercel Production Build:
    • Verify that the production deployment on https://mygitverse.vercel.app is healthy.

πŸ”„ Secret Rotation & Infrastructure Maintenance

1. Rotating the GitHub Bot Token (GH_BOT_TOKEN)

  • Generate a new Personal Access Token with public repository read permissions.
  • Update GH_BOT_TOKEN in the Vercel Project Environment Variables.
  • Redeploy the production environment.
  • Delete the old token in GitHub Developer Settings.

2. Rotating the OAuth State Secret (STATE_SECRET)

  • Generate a new 64-character hex string:
    openssl rand -hex 32
  • Update STATE_SECRET in Vercel. Existing in-flight OAuth handshakes ($<5\text{ minutes}$) will expire cleanly, and all new handshakes will use the new key.

🏷️ Issue & PR Triage Standards

  • good first issue: Self-contained tasks suitable for newcomers (e.g., adding a test, updating documentation).
  • bug: Confirmed defect in calculation, UI rendering, or CLI flags.
  • enhancement: New capability or performance optimization.
  • security: High-priority vulnerability report (to be handled privately).

πŸ“¬ Contact & Escalation

Clone this wiki locally