Skip to content

fix(vsce): Don't swallow errors for createDataset - #927

Merged
t1m0thyj merged 3 commits into
fix/del-pds-memfrom
fix/create-ds-error
May 4, 2026
Merged

fix(vsce): Don't swallow errors for createDataset#927
t1m0thyj merged 3 commits into
fix/del-pds-memfrom
fix/create-ds-error

Conversation

@t1m0thyj

Copy link
Copy Markdown
Member

What It Does

Fixes #917 - note that some DS operations now show 2 error messages instead of 1, but this is consistent with how other APIs behave and should be resolved once ZRS is merged into ZE.

How to Test

Review Checklist
I certify that I have:

Additional Comments

@github-project-automation github-project-automation Bot moved this to New Issues in Zowe CLI Squad Apr 10, 2026
@zowe-robot zowe-robot moved this from New Issues to In Progress in Zowe CLI Squad Apr 10, 2026
@github-actions

github-actions Bot commented Apr 10, 2026

Copy link
Copy Markdown

@t1m0thyj
t1m0thyj force-pushed the fix/create-ds-error branch from c7495eb to b3a4f4c Compare April 14, 2026 21:19
@t1m0thyj
t1m0thyj changed the base branch from main to fix/del-pds-mem April 14, 2026 21:19
@JTonda JTonda moved this from In Progress to Release Backlog in Zowe CLI Squad Apr 22, 2026
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
@t1m0thyj
t1m0thyj force-pushed the fix/create-ds-error branch 2 times, most recently from 26e691d to 592f36c Compare April 24, 2026 20:44
@t1m0thyj
t1m0thyj marked this pull request as ready for review April 24, 2026 20:51
@zowe-robot zowe-robot moved this from Release Backlog to Review/QA in Zowe CLI Squad Apr 24, 2026
Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
@t1m0thyj
t1m0thyj force-pushed the fix/create-ds-error branch from ff78ed7 to 9afba0b Compare April 24, 2026 20:52
@t1m0thyj
t1m0thyj requested a review from anaxceron April 24, 2026 20:52

@traeok traeok left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are there steps to test for this PR or is this just meant to be merged in as-is (as main is not the base)? I am seeing the same error message, wasn't sure if I was missing something

Comment thread packages/vsce/src/api/SshMvsApi.ts Outdated
}
const response = await (await this.client).ds.createMember({
dsname: dataSetName,
overwrite: true, // Overwrite detection already handled on client side

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

(nit) I understand the premise of the comment, but in the future I wonder if this is better suited for the TSDoc within Zowe Explorer API's extender interfaces. The comment is definitely accurate, but this isn't behavior exclusive to ZRS, and this info could help steer other extenders that implement this function.

@t1m0thyj t1m0thyj May 4, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is a good point, but after discussing offline I'm not sure that it warrants a separate PR for Zowe Explorer at this time 😋

@zFernand0 zFernand0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! 😋

Comment thread packages/vsce/src/api/SshMvsApi.ts Outdated
@t1m0thyj t1m0thyj moved this from Review/QA to In Progress in Zowe CLI Squad Apr 29, 2026

@zFernand0 zFernand0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

-test-

Just left a comment to trigger GH's APIs for PR review.
The "Reviewers" (top-right) section fixed itself.
The list of PRs to review also updated 🙏

Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com>
@t1m0thyj
t1m0thyj merged commit 57d78f9 into fix/del-pds-mem May 4, 2026
7 checks passed
@t1m0thyj
t1m0thyj deleted the fix/create-ds-error branch May 4, 2026 14:47
@github-project-automation github-project-automation Bot moved this from In Progress to Closed in Zowe CLI Squad May 4, 2026
@sonarqubecloud

sonarqubecloud Bot commented May 4, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

VSCE: createDataset method should not swallow errors

7 participants