hotfix

Upload changed PHP, Blade, and lang files to an S3 bucket for in-place hotfixing.

66|10|Updated Aug 12, 2018
One-click install
npx skills add https://github.com/RaiderIO/keystone.guru --skill hotfix-raiderio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hotfix
Source: https://github.com/RaiderIO/keystone.guru/tree/main/.claude/skills/hotfix
Command: npx skills add https://github.com/RaiderIO/keystone.guru --skill hotfix-raiderio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables developers to patch deployed applications quickly by uploading changed non-compiled files to an S3 bucket and redeploying the same version, without creating a new release.

Core Features & Use Cases

  • In-place patching: Apply changes directly to the deployed application without cutting a new release.
  • File-based hotfixing: Upload changed files (PHP, Blade, lang, config) to the hotfix S3 bucket.
  • Version-specific: The hotfix applies only to the deployed version, ensuring that it does not interfere with future releases.

Quick Start

To hotfix a specific version, run: php artisan make:hotfix <version> --file=<path-to-file>

Frequently Asked Questions about hotfix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply a hotfix to a PHP application without creating a new release?

To apply a hotfix without a new release, upload changed PHP files to an S3 bucket and redeploy the same application version. The hotfix patches application files in place during container startup based on the release tag.

What types of files can I patch in place on a deployed staging or production server?

In-place patching supports non-compiled files including PHP files, Blade templates, and lang files. It does not work for JavaScript or CSS changes that require a new asset rebuild and release.

How do I upload changed files for an in-place patch using the make hotfix command?

Run `php artisan make:hotfix <version> --file=<path-to-file>` to upload changed files to the hotfix S3 bucket, then redeploy the same application version to apply the patch.

Can I use in-place patching for JavaScript or CSS changes on my deployed application?

No, in-place patching does not support JavaScript or CSS changes. These compiled assets require a new release and rebuild to take effect on the deployed application.

Does a hotfix applied to a specific version interfere with future application releases?

No, hotfixes are version-specific and apply only to the deployed release tag. This ensures that patches do not interfere with or carry over to future application releases.

Why does my hotfix require redeploying the same version instead of just restarting the container?

Redeploying the same version triggers container startup, which applies the hotfix by patching application files in place from the S3 bucket. This ensures the version-specific fixes are loaded correctly.