Skip to content

Latest commit

Β 

History

History
71 lines (52 loc) Β· 2.37 KB

File metadata and controls

71 lines (52 loc) Β· 2.37 KB

Clean Commit Workflow

When generating commit messages for this repository, follow the Clean Commit workflow.

Reference: https://github.com/wgtechlabs/clean-commit

Format

<emoji> <type>: <description>
<emoji> <type> (<scope>): <description>

The 9 Types

Emoji Type What it covers
πŸ“¦ new Adding new features, files, or capabilities
πŸ”§ update Changing existing code, refactoring, improvements
πŸ—‘οΈ remove Removing code, files, features, or dependencies
πŸ”’ security Security fixes, patches, vulnerability resolutions
βš™οΈ setup Project configs, CI/CD, tooling, build systems
β˜• chore Maintenance tasks, dependency updates, housekeeping
πŸ§ͺ test Adding, updating, or fixing tests
πŸ“– docs Documentation changes and updates
πŸš€ release Version releases and release preparation

Rules

  • Use lowercase for type
  • Use present tense ("add" not "added")
  • No period at the end
  • Keep description under 72 characters

Examples

  • πŸ“¦ new: user authentication system
  • πŸ”§ update (api): improve error handling
  • πŸ—‘οΈ remove (deps): unused lodash dependency
  • πŸ”’ security: patch XSS vulnerability
  • βš™οΈ setup: add eslint configuration
  • β˜• chore: update npm dependencies
  • πŸ§ͺ test: add unit tests for auth service
  • πŸ“– docs: update installation instructions
  • πŸš€ release: version 1.0.0

Railway Operations

Do Not Delete Service Instances

When working with Railway infrastructure, never delete service instances unless explicitly confirmed by the user for that specific action. Removing a service instance permanently deletes:

  • Running deployments
  • Environment variables
  • Service configuration (domains, health checks, etc.)
  • Associated deployment history

Allowed Actions

  • Stop or restart the latest deployment
  • Redeploy a service instance with a new image
  • Remove a specific deployment by ID (only when explicitly requested)
  • Scale services up or down

Prohibited Actions

  • serviceDelete on Railway service instances
  • railway service delete or equivalent CLI commands
  • Any operation that destroys the service definition itself

If the user asks to "remove deployments," stop or remove the current deployment only, not the service instance. Ask for clarification if unsure.