Skip to content

feat: add NGT support @W-22143534@#198

Merged
andresrivas-sf merged 8 commits into
mainfrom
wr/ngt
May 13, 2026
Merged

feat: add NGT support @W-22143534@#198
andresrivas-sf merged 8 commits into
mainfrom
wr/ngt

Conversation

@WillieRuemmele
Copy link
Copy Markdown
Member

What does this PR do?

adds NGT support to VSC
Screenshot 2026-04-29 at 4 04 14 PM

What issues does this PR fix or reference?

requires: forcedotcom/agents#272
#, @W-22143534@

Functionality Before

no NGT suppoprt

Functionality After

ATD / NGT tests in testing panel

Testing Setup Notes

Copy link
Copy Markdown

@andresrivas-sf andresrivas-sf left a comment

Choose a reason for hiding this comment

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

It looks good so far! Just a couple of minor questions.

Comment thread src/views/testOutlineProvider.ts Outdated
Comment thread src/views/testRunner.ts Outdated
Comment thread src/views/testRunner.ts Outdated
Comment thread src/views/testRunner.ts
- Guard findIndex -1 result to prevent invalid Position(-1, 8)
- Replace TestStatus | string with TestStatus | AgentforceStudioTestStatusResponse['status'] in polling event type
- Use !test.parentName instead of == '' for consistency
- Add comment explaining why empty testScorerResults counts as failure
- Handle CREATED and FAILED AgentforceStudio statuses in polling event
  listener to prevent progress notification hanging indefinitely
- Fix hasFailure accumulation bug in runTestingCenterTest (was
  overwriting on each iteration instead of accumulating)
- Guard against missing testCase element in XML parsing
- Replace map() with forEach() for all side-effect-only loops
- Eliminate double-filter in printTestSummary and
  printAgentforceStudioTestSummary (use total - passing)
- Eliminate double parse of scorer responses in
  displayAgentforceStudioTestCases (accumulate during render loop)
Comment thread src/views/testOutlineProvider.ts Outdated
Comment thread src/views/testRunner.ts
Comment thread src/views/testRunner.ts Outdated
Copy link
Copy Markdown

@andresrivas-sf andresrivas-sf left a comment

Choose a reason for hiding this comment

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

great!

update: QA OK
image

@andresrivas-sf andresrivas-sf merged commit da87405 into main May 13, 2026
9 checks passed
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.

2 participants