Skip to content

ci: Add scripts directory to Railway watch patterns#31

Merged
platzhersh merged 1 commit intomainfrom
claude/fix-database-seeding-IxfvK
Jan 31, 2026
Merged

ci: Add scripts directory to Railway watch patterns#31
platzhersh merged 1 commit intomainfrom
claude/fix-database-seeding-IxfvK

Conversation

@platzhersh
Copy link
Owner

@platzhersh platzhersh commented Jan 31, 2026

Summary

Updated the Railway configuration to include the scripts/ directory in the build watch patterns, ensuring that changes to scripts trigger automatic rebuilds.

Changes

  • Added "scripts/**" to the watchPatterns array in api/railway.toml

Details

This change allows the Railway deployment platform to monitor the scripts/ directory for changes. When files in this directory are modified, it will trigger a new build and deployment, keeping the application in sync with script updates. This is particularly useful if scripts are used during the build process or are part of the application's runtime dependencies.

https://claude.ai/code/session_01EYavFNeEwGhDMH2CEFyLKf

Summary by CodeRabbit

  • Chores
    • Updated build configuration to monitor script changes during the build process.

✏️ Tip: You can customize this high-level summary in your review settings.

The seed script lives in scripts/ which wasn't included in the API
service's watch paths, so changes to seed_staging.py didn't trigger
a redeploy.

https://claude.ai/code/session_01EYavFNeEwGhDMH2CEFyLKf
@platzhersh platzhersh changed the title Add scripts directory to Railway watch patterns ci: Add scripts directory to Railway watch patterns Jan 31, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 31, 2026

Caution

Review failed

The pull request is closed.

Walkthrough

The pull request modifies the railway.toml configuration file by adding "scripts/**" to the watchPatterns list in the [build] section, enabling the build process to monitor changes in the scripts directory.

Changes

Cohort / File(s) Summary
Build Configuration
api/railway.toml
Added "scripts/**" to the [build] section's watchPatterns list to monitor script directory changes during the build process.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • platzhersh/open-cis#4: Established the initial watchPatterns configuration in api/railway.toml; this PR extends it by adding script directory monitoring.

Poem

🐰 A rabbit hops through config files with glee,
Adding patterns for scripts to watch, you see,
Build system now sees every change that's made,
In the scripts folder—no delays, no fade! ✨

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch claude/fix-database-seeding-IxfvK

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

@platzhersh platzhersh merged commit a29ff71 into main Jan 31, 2026
1 of 2 checks passed
@platzhersh platzhersh deleted the claude/fix-database-seeding-IxfvK branch January 31, 2026 19:37
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.

2 participants

Comments