Skip to content

Conversation

@cbentejac
Copy link
Contributor

Description

This PR adds explicit messages that explain why the test that checks whether a template is valid has failed. Prior to it, only compatibility issues were clearly explained.

@codecov
Copy link

codecov bot commented Nov 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.88%. Comparing base (4585522) to head (698caf3).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2937   +/-   ##
========================================
  Coverage    80.88%   80.88%           
========================================
  Files           59       59           
  Lines         7857     7857           
========================================
  Hits          6355     6355           
  Misses        1502     1502           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cbentejac cbentejac requested a review from Copilot November 18, 2025 10:32
Copilot finished reviewing on behalf of cbentejac November 18, 2025 10:33
Copy link
Contributor

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 improves the error reporting in the checkTemplateVersions function by adding explicit error messages for three validation failure scenarios. Previously, only compatibility issues had clear error messages, while other validation failures returned False without explanation.

  • Added informative print statements for invalid graph, non-template files, and unknown node types
  • Updated the compatibility issue error message for consistency in formatting

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

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