Extend a Review Environment
Extends the lease of a review environment assigned to a specific issue.
These commands are currently limited to GitHub. Using these commands requires an equivalent APP_ID & PRIVATE_KEY in your environment variable.
Usage
sfp reviewenv extend --repository <owner/repo> --issue <issue>Options
--repository: The repository path that stores the pool lock (default: current repo).--issue: The pull request number to assign the environment to, or a unique id that will be used subsequently to identify (required).
Behavior
- Locates the environment assigned to the specified issue.
- Extends the overall validity of the environment by an additional 24 hours from the current time.
Notes
- This command is useful when more time is needed for thorough testing or when waiting for stakeholder approval.
- It extends the overall validity of the environment, not the lease time for a specific process.
- Use judiciously to avoid unnecessarily tying up resources.