Introduce extend command to allow sandbox reservation extension#51
Open
andrzejkupczyk wants to merge 1 commit intomasterfrom
Open
Introduce extend command to allow sandbox reservation extension#51andrzejkupczyk wants to merge 1 commit intomasterfrom
andrzejkupczyk wants to merge 1 commit intomasterfrom
Conversation
nandy-andy
reviewed
Oct 1, 2025
nandy-andy
approved these changes
Oct 1, 2025
wera-trollcode
approved these changes
Oct 2, 2025
a25db7e to
f50edd9
Compare
f50edd9 to
bde198f
Compare
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new "extend" command functionality to the messaging bot that allows users to extend their sandbox reservations for an additional 5 working days.
- Added a new command handler for sandbox extension requests
- Updated the bot to recognize and process extension commands
- Incremented the package version to reflect the new feature
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| package.json | Version bump from 2.1.1 to 2.2.0 for new feature release |
| messages/index.js | Registered the new extend handler to enable command recognition |
| messages/extend.js | New command handler implementing sandbox extension logic with ownership verification |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
iraszewska
approved these changes
Dec 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds support for extending sandbox bookings in the messaging bot. The main change is the introduction of a new command handler that allows users to extend their sandbox reservation by resetting the due date to five additional working days if they are the current owner.
New sandbox extension feature:
messages/extend.jshandler to process extension requests for sandboxes, including logic to verify ownership, update the booking date, and calculate the new due date based on working days.extendhandler inmessages/index.jsso the bot recognizes and responds to extension commands.