Skip to content

Add new shutdown command #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 24, 2025
Merged

Add new shutdown command #77

merged 2 commits into from
Jun 24, 2025

Conversation

salvador-barboza
Copy link
Collaborator

No description provided.

@Copilot Copilot AI review requested due to automatic review settings June 24, 2025 13:59
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Updates the devcontainer configuration to use a dedicated shutdown script when the container stops.

  • Replaces the previous deploy.sh command with a new shutdown.sh script.
  • Removes the REVISION_NAME environment variable assignment from the stop hook.
Comments suppressed due to low confidence (2)

.devcontainer/devcontainer.json:15

  • [nitpick] Consider updating the repository README or contributing guide to include instructions for the new shutdown hook, so that developers understand when and how it runs.
      "onStopCommand": "/usr/local/bin/shutdown.sh"

.devcontainer/devcontainer.json:15

  • The previous hook set REVISION_NAME=spark-preview before running the script. If shutdown.sh still relies on this environment variable for its logic, it will now fail. Either re-add the assignment or update the script to fetch/derive REVISION_NAME internally.
      "onStopCommand": "/usr/local/bin/shutdown.sh"

@salvador-barboza salvador-barboza merged commit 6e1416c into main Jun 24, 2025
2 checks passed
@salvador-barboza salvador-barboza deleted the new-shutdowncommand branch June 24, 2025 14:50
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