Skip to content

Conversation

@GordonSmith
Copy link
Member

No description provided.

Copy link

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

This PR adds a new Language Model (AI) tool for the ECL VS Code extension that fetches and displays errors, warnings, and exceptions from HPCC Platform workunits. The tool integrates with the existing VS Code Language Model API to provide AI-assisted debugging capabilities.

Key changes:

  • New GetWorkunitErrorsTool that retrieves and categorizes workunit exceptions (errors, warnings, info, and other messages)
  • Tool registration in the ECL LM tools system with proper metadata and configuration
  • Schema definition in package.json for the tool's input parameters and display properties

Reviewed changes

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

File Description
src/ecl/lm/tools/getWorkunitErrors.ts Implements the new GetWorkunitErrorsTool class with methods to fetch, categorize, and format workunit exceptions; includes helper functions for severity checking and exception formatting
src/ecl/lm/tools.ts Registers the new GetWorkunitErrorsTool in the ECL LM tools registry
package.json Adds tool metadata including name, display properties, tags, input schema, and model description for the getWorkunitErrors tool

Copy link
Collaborator

@jeclrsg jeclrsg left a comment

Choose a reason for hiding this comment

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

@GordonSmith looked good. Just double-checked about that test.tmp file?

test.tmp Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this have been included?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope!

@GordonSmith GordonSmith merged commit cbacf13 into hpcc-systems:main Jan 6, 2026
4 checks passed
@GordonSmith GordonSmith deleted the WUINFO_EXCEPTIONS branch January 6, 2026 17:14
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

🎉 This change has been included in ecl-v2.34.0 🎉

The release is available on:

Your release-please bot 🚀🙏

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