Skip to content

Handle GraphViz objects in storage and UI#4855

Closed
eonofrey wants to merge 1 commit intofacebook:mainfrom
eonofrey:export-D92208435
Closed

Handle GraphViz objects in storage and UI#4855
eonofrey wants to merge 1 commit intofacebook:mainfrom
eonofrey:export-D92208435

Conversation

@eonofrey
Copy link
Contributor

@eonofrey eonofrey commented Feb 4, 2026

Summary:
In analysis_card_to_sqa we support every type of AnalysisCard except GraphViz. This diff adds encoding and decoding for GraphVizAnalysisCard so GenerationStrategyGraph can be properly stored and rendered in the UI since currently it does not render:

{F1985181889}

Differential Revision: D92208435

@meta-codesync
Copy link

meta-codesync bot commented Feb 4, 2026

@eonofrey has exported this pull request. If you are a Meta employee, you can view the originating Diff in D92208435.

@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 4, 2026
@codecov-commenter
Copy link

codecov-commenter commented Feb 4, 2026

Codecov Report

❌ Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.75%. Comparing base (940092e) to head (c506f2f).

Files with missing lines Patch % Lines
ax/storage/sqa_store/decoder.py 66.66% 1 Missing ⚠️
ax/storage/sqa_store/encoder.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4855      +/-   ##
==========================================
- Coverage   96.76%   96.75%   -0.01%     
==========================================
  Files         589      589              
  Lines       61832    61838       +6     
==========================================
+ Hits        59829    59834       +5     
- Misses       2003     2004       +1     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

eonofrey added a commit to eonofrey/Ax that referenced this pull request Feb 6, 2026
Summary:

In [analysis_card_to_sqa](https://www.internalfb.com/code/fbsource/[f35aae2adf7e14e81702f0f3cd5584af5ce363fd]/fbcode/ax/storage/sqa_store/encoder.py?lines=1161-1171) we support every type of AnalysisCard except GraphViz. This diff has small additions to encoding and decoding for `GraphVizAnalysisCard` so `GenerationStrategyGraph` can be properly stored and rendered in the UI since currently it does not render:

 {F1985181889}

Reviewed By: Cesar-Cardoso

Differential Revision: D92208435
eonofrey added a commit to eonofrey/Ax that referenced this pull request Feb 6, 2026
Summary:

In [analysis_card_to_sqa](https://www.internalfb.com/code/fbsource/[f35aae2adf7e14e81702f0f3cd5584af5ce363fd]/fbcode/ax/storage/sqa_store/encoder.py?lines=1161-1171) we support every type of AnalysisCard except GraphViz. This diff has small additions to encoding and decoding for `GraphVizAnalysisCard` so `GenerationStrategyGraph` can be properly stored and rendered in the UI since currently it does not render:

 {F1985181889}

Reviewed By: Cesar-Cardoso

Differential Revision: D92208435
Summary:

In [analysis_card_to_sqa](https://www.internalfb.com/code/fbsource/[f35aae2adf7e14e81702f0f3cd5584af5ce363fd]/fbcode/ax/storage/sqa_store/encoder.py?lines=1161-1171) we support every type of AnalysisCard except GraphViz. This diff has small additions to encoding and decoding for `GraphVizAnalysisCard` so `GenerationStrategyGraph` can be properly stored and rendered in the UI since currently it does not render:

 {F1985181889}

Reviewed By: Cesar-Cardoso

Differential Revision: D92208435
@meta-codesync
Copy link

meta-codesync bot commented Feb 6, 2026

This pull request has been merged in cf654b1.

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

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants