Skip to content

CL-1753 | Add instant rollback feature support for Launch CLI#158

Merged
AryanBansal-launch merged 2 commits into
developmentfrom
CL-1753
May 18, 2026
Merged

CL-1753 | Add instant rollback feature support for Launch CLI#158
AryanBansal-launch merged 2 commits into
developmentfrom
CL-1753

Conversation

@AryanBansal-launch
Copy link
Copy Markdown
Contributor

No description provided.

@AryanBansal-launch AryanBansal-launch requested review from a team as code owners May 15, 2026 07:27
@github-actions
Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

Copy link
Copy Markdown

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

Adds an “instant rollback” capability to the Launch CLI by introducing a new launch rollback command backed by new GraphQL query/mutation fields, plus unit tests to validate core flows.

Changes:

  • Added launch rollback command to select an environment + eligible deployment, review, confirm, and trigger rollback via GraphQL.
  • Extended GraphQL query/mutation definitions to support rollback-specific fields and the rollback mutation.
  • Added Jest + Mocha/Sinon unit tests for rollback behavior and updated .talismanrc allowlist checksums for the new test files.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/commands/launch/rollback.ts New rollback command implementation (selection, review, mutation).
src/graphql/queries.ts Adds rollback-related fields to deployment/environment queries (behind a skip flag).
src/graphql/mutation.ts Adds rollbackDeploymentMutation and exports it.
src/commands/launch/rollback.test.ts Jest unit tests covering rollback flows (confirm, mutation success/failure, eligibility).
test/unit/commands/rollback.test.ts Mocha/Sinon tests for CLI execution/prompting paths.
.talismanrc Updates checksum allowlist for newly added test files.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/commands/launch/rollback.ts
Comment thread src/commands/launch/rollback.test.ts
Comment thread test/unit/commands/rollback.test.ts
Comment thread test/unit/commands/rollback.test.ts
@AryanBansal-launch AryanBansal-launch merged commit 34d7761 into development May 18, 2026
10 checks passed
@AryanBansal-launch AryanBansal-launch deleted the CL-1753 branch May 18, 2026 08:36
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.

7 participants