Skip to content

ci: add GitHub Actions workflow and Dependabot config - #17

Merged
hexawulf merged 2 commits into
mainfrom
ci/add-ci
Nov 18, 2026
Merged

hexawulf merged 2 commits into
mainfrom
ci/add-ci

Conversation

@hexawulf

Copy link
Copy Markdown
Owner

Summary

Adds automated continuous integration and dependency update configuration for PiTasker:

  • .github/workflows/ci.yml: Runs on pull_request and push to main with least-privilege permissions (contents: read) and GitHub Actions pinned to full commit SHAs (actions/checkout@11bd719... # v4.2.2, actions/setup-node@39370e3... # v4.1.0) on Node 22:
    • check-and-test: runs npm ci, npm run check, npm test (against a postgres:18 service container via PITASKER_TEST_PG_URL so PostgreSQL integration suites run instead of skipping), npm run build, npm run test:install, npm run check:shell, and npm run check:theme.
    • e2e: runs the full Playwright E2E suite (npm run test:e2e) with Playwright's Chromium (npx playwright install --with-deps chromium) against postgres:18 and the isolated .e2e fake crontab and fleet fixtures.
  • .github/dependabot.yml: Weekly updates for npm and github-actions, grouping minor/patch bumps while ignoring major upgrades of react, react-dom, @types/react*, express, @types/express, tailwindcss, and typescript.
  • client/src/pages/login.tsx: Annotates the four official Google brand mark hex colours in GoogleIcon (#4285F4, #34A853, #FBBC05, #EA4335) with // theme-ok so npm run check:theme passes in CI. (Note: the same 4-line // theme-ok annotation is included in the sibling audit PRs so npm run check:theme passes independently in each worktree; Git merges identical hunks cleanly in any order.)

Findings Fixed

  • PT-A10 (security, Medium): Added GitHub Actions CI workflow (.github/workflows/ci.yml), Dependabot configuration (.github/dependabot.yml), and fixed the pre-existing npm run check:theme failure on GoogleIcon brand hex literals in client/src/pages/login.tsx.

Before / After Metrics

Metric Baseline (0cbccb9) PR 0 (ci/add-ci)
Tracked files 221 223
Direct deps / devDeps 25 / 21 25 / 21
Prod node_modules (npm ci --omit=dev) 287.96 MB (1,047 lines) 287.96 MB (1,047 lines)
npm audit --omit=dev (high / mod / low / total) 18 / 9 / 1 / 28 18 / 9 / 1 / 28
Initial JS (raw / gzip) 483.39 KB / 148.97 KB 483.39 KB / 148.97 KB
Server bundle / Agent bundle (raw) 134.91 KB / 34.41 KB 134.91 KB / 34.41 KB
Build time 3.09 s 3.07 s
Time to /healthz 200 0.995 s 1.023 s
Hub idle RSS (60 s) 103.07 MB 102.54 MB
Agent idle RSS (beta / gamma 60 s) 65.19 MB / 64.02 MB 63.74 MB / 66.11 MB

Test Counts & Gates

Gate Baseline PR 0 (ci/add-ci)
npm run check (tsc) PASS PASS
npm test (vitest, incl. DB suites) 20 files, 332 passed 20 files, 332 passed
npm run build PASS PASS
npm run test:e2e (playwright) 40 passed 40 passed
npm run test:install 82 passed 82 passed
npm run check:shell (shellcheck) PASS PASS
npm run check:theme FAIL (exit 1 on login.tsx) PASS (exit 0)
  • Parity checklist: 10/10 passed.
  • Agent bundle changed: no (dist/agent.mjs code identical to baseline).

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 514cbe1d-e937-4dbf-8929-d6464700140e
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T23:47:05.115726Z be4c280 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@hexawulf
hexawulf merged commit f00ed00 into main Nov 18, 2026
3 checks passed
@hexawulf
hexawulf deleted the ci/add-ci branch November 18, 2026 01:40
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