Skip to content

Conversation

@ConnorStoneAstro
Copy link
Owner

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 an automatic save feature for Graphviz representations by updating the Node.graphviz method and the associated tests.

  • Updates the graphviz API by adding an optional saveto parameter to trigger file writing.
  • Adds tests to verify that a saved Graphviz file exists and is removed after testing.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
tests/test_base.py Adds a test case to verify Graphviz file creation and cleanup.
src/caskade/base.py Extends the graphviz method with an optional saveto parameter to render and save the graph.

@codecov
Copy link

codecov bot commented Apr 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (eb5e478) to head (cf720bc).
⚠️ Report is 16 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #41   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines         1236      1240    +4     
=========================================
+ Hits          1236      1240    +4     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ConnorStoneAstro ConnorStoneAstro merged commit 2818b65 into main Apr 30, 2025
42 checks passed
@ConnorStoneAstro ConnorStoneAstro deleted the savegraphviz branch April 30, 2025 17:09
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