Skip to content

Commit e3cc89a

Browse files
committed
Fix brakeman CI failure by removing --ensure-latest flag and updating to 8.0.4
The --ensure-latest flag in bin/brakeman caused exit code 5 whenever a newer brakeman version was released, breaking CI. Removing this flag prevents future failures while still running the bundled version.
1 parent b8d7b0b commit e3cc89a

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Rails 8 API backend for the PR Dashboard application. Tracks pull requests, revi
77

88
### Hosting & Infrastructure
99
- **API Server**: Render.com free tier (512MB RAM limit)
10-
- **Database**: Neon PostgreSQL (serverless, free tier)
10+
- **Database**: Supabase PostgreSQL (free tier, no compute hour limit)
1111
- **Cron Jobs**: GitHub Actions (replaced Render cron jobs)
1212
- Runs every 15 minutes during business hours (Mon-Fri, 6am-6pm PT)
1313
- Workflow: `.github/workflows/pr-scraper.yml`
@@ -50,7 +50,7 @@ Current version: **5.0** (defined in `app/controllers/api/v1/reviews_controller.
5050
## Configuration
5151

5252
### Environment Variables (on Render)
53-
- `DATABASE_URL` - Neon PostgreSQL connection string
53+
- `DATABASE_URL` - Supabase PostgreSQL connection string (Session pooler, port 5432)
5454
- `GITHUB_TOKEN` - GitHub PAT for API access
5555
- `GITHUB_OWNER` - Default: `department-of-veterans-affairs`
5656
- `GITHUB_REPO` - Default: `vets-api`

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ GEM
8383
bigdecimal (3.2.2)
8484
bootsnap (1.18.6)
8585
msgpack (~> 1.2)
86-
brakeman (8.0.2)
86+
brakeman (8.0.4)
8787
racc
8888
builder (3.3.0)
8989
chronic (0.10.2)

bin/brakeman

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22
require "rubygems"
33
require "bundler/setup"
44

5-
ARGV.unshift("--ensure-latest")
6-
75
load Gem.bin_path("brakeman", "brakeman")

0 commit comments

Comments
 (0)