-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat!: change-case v2 #141
Conversation
@@ -1,43 +1,19 @@ | |||
# check.description | |||
# flags.changecaseid.summary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
messages are moved to file-per-command like our normal pattern
"wireit": "^0.9.5" | ||
"@oclif/plugin-command-snapshot": "^5.1.9", | ||
"@salesforce/cli-plugins-testkit": "^5.3.5", | ||
"@salesforce/dev-scripts": "^9.1.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using devScripts removes a lot of devDeps
@@ -25,7 +24,9 @@ export type CheckResult = { | |||
type: string; | |||
}; | |||
export default class Check extends SfCommand<CheckResult> { | |||
public static readonly summary = messages.getMessage('check.description'); | |||
public static readonly deprecated = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't use this command
} | ||
|
||
this.log(`Release ${closeResult.results[0].id} set to ${status}.`); | ||
const closeCase = async (status: string, changecaseid: string, conn: Connection): Promise<string[]> => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the new API stops all the implementation steps as part of close
endpoint
See https://salesforce-internal.slack.com/archives/G02K6C90RBJ/p1716552999650839
QA:
I did this one from local CLI. You'll need the tooling releases user, not your normal GUS uers (you can't create a Build)
https://gus.lightning.force.com/lightning/r/Case/500EE00001DVqC6YAL/view
Then take the resulting ID and close
there's a real NUT covering how we use this in CI
@W-15845325@