CI: R parse check and secret scan - #176
Open
Alvin-Nahabwe wants to merge 16 commits into
Open
Conversation
model training - Add all caret job queue label keys
Longitudinal ml
Fix docker modal blank screen
Add async caret job queue with concurrent
.github/workflows/ci.yml runs on push to main and on PRs: - r-parse: Rscript scripts/check_parse.R syntax-checks every .R file (parse only, no packages needed), catching breakage that would otherwise only appear when the Shiny app launches. All 105 current files parse. - secrets: gitleaks history scan, advisory for now (continue-on-error). Known secret-hygiene items — the hardcoded dev cookie password and the committed dev users.sqlite — are being addressed separately; flip this to blocking once they are cleared. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This was referenced Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
.github/workflows/ci.ymlto the app repo:Rscript scripts/check_parse.Rsyntax-checks every.Rfile (parse only — no packages). Catches breakage that otherwise only shows when the app launches.gitleakshistory scan — advisory for now (continue-on-error).Locally, all 105 R files parse cleanly, so
r-parseis green on introduction.Why advisory secrets
The repo has known secret-hygiene items in flight — the hardcoded dev cookie password in
auth.Rand the committed devusers.sqlite. Turning on a blocking gitleaks gate before those are cleared would fail every build. It runs advisory now; the follow-up secrets-hygiene PR flips it to blocking.Follow-ups (separate PRs)
lintrstyle job once the tree is cleaned.🤖 Generated with Claude Code