Skip to content

[Enhancement] Show Semantic Dedup Post processor result in Sygra Studio#126

Merged
vipul-mittal merged 3 commits intomainfrom
scratch/add_graph_post_processing_result_studio
Feb 3, 2026
Merged

[Enhancement] Show Semantic Dedup Post processor result in Sygra Studio#126
vipul-mittal merged 3 commits intomainfrom
scratch/add_graph_post_processing_result_studio

Conversation

@psriramsnc
Copy link
Collaborator

@psriramsnc psriramsnc commented Feb 2, 2026

✨ Summary

This PR adds first-class support for post-processor artifacts in execution outputs, including Semantic Deduplication artifacts, with both backend discovery APIs and rich frontend visualization. Users can now browse, inspect, copy paths, and download post-processor outputs directly from the SyGra Studio, making debugging and analysis significantly easier.

🚀 Explain the features implemented:

  • Backend API for post-processor artifacts

    • Added /api/executions/{execution_id}/artifacts/post-processors to discover post-processor output files for an execution.
    • Automatically detects and groups artifacts, including Semantic Deduplication reports and final outputs.
    • Filters out main execution output files and returns relative paths when possible.
  • Semantic Deduplication SyGra Studio support 🧠

    • Dedicated UI section for Semantic Deduplication artifacts.
    • Special handling for deduplication reports to render duplicate entries in a tabular view.
    • Clear labeling and grouping for report vs final output files.
  • Generic post-processor artifact rendering 📦

    • Groups artifacts by post-processor key with expandable sections.
    • Supports table, JSON, and raw views depending on artifact structure.
    • One-click download for artifact JSON files.
  • Improved UX & state management 🎨

    • Lazy loading of artifacts only when the Output tab is active.
    • Loading indicators, empty-state messaging, and copy-to-clipboard for artifact paths.
    • State resets automatically when execution context changes.

⚡ Performance impact (if any):

  • Minimal impact
    • Artifacts are fetched lazily and only once per execution.
    • Large datasets are capped in the UI to avoid performance issues.

🧪 How to Test the feature

  1. Navigate to an execution details page and open the Output tab.
  2. Run or open an execution that has post-processors enabled (e.g. Semantic Dedup).
  3. Expand Semantic Deduplication or other post-processor sections.
  4. Verify:
    • Artifacts appear with correct labels and paths.
    • Data renders correctly in table/JSON views.
    • Download and copy-path actions work.
    • Empty state appears when no artifacts are present.

🖼️ Screenshots (if applicable)

Screenshot 2026-02-02 at 5 30 45 PM Screenshot 2026-02-02 at 5 30 31 PM

✅ Checklist

  • Lint fixes and unit testing done
  • End to end task testing
  • Documentation updated

📝 Notes

  • Semantic Dedup artifacts are detected via filename conventions; metadata-based discovery can be added later.
  • This change enables future post-processors without requiring backend changes.

@psriramsnc psriramsnc changed the title Added Semantic Dedup Post processor result in Studio Add Semantic Dedup Post processor result in Studio Feb 2, 2026
@psriramsnc psriramsnc self-assigned this Feb 2, 2026
@psriramsnc psriramsnc added the enhancement New feature or request label Feb 2, 2026
@psriramsnc psriramsnc changed the title Add Semantic Dedup Post processor result in Studio [Enhancement] Add Semantic Dedup Post processor result in Studio Feb 2, 2026
@psriramsnc psriramsnc changed the title [Enhancement] Add Semantic Dedup Post processor result in Studio [Enhancement] Show Semantic Dedup Post processor result in Sygra Studio Feb 2, 2026
@psriramsnc psriramsnc marked this pull request as ready for review February 2, 2026 12:01
@psriramsnc psriramsnc requested a review from a team as a code owner February 2, 2026 12:01
@vipul-mittal vipul-mittal enabled auto-merge (squash) February 3, 2026 09:11
@vipul-mittal vipul-mittal merged commit 80a9b6d into main Feb 3, 2026
4 checks passed
@vipul-mittal vipul-mittal deleted the scratch/add_graph_post_processing_result_studio branch February 3, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants