Skip to content

fix(rocinsight): pass ATT data through to_json()/to_webview() for Tier 3 serialization - #4978

Merged
ammarwa merged 1 commit into
ROCm:rocm21553/pr4-fix-tool-commandsfrom
ammarwa:review-findings/f4-att-serialization
Apr 17, 2026
Merged

ammarwa merged 1 commit into
ROCm:rocm21553/pr4-fix-tool-commandsfrom
ammarwa:review-findings/f4-att-serialization

Conversation

@ammarwa

@ammarwa ammarwa commented Apr 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

to_json() and to_webview() on AnalysisResult did not forward att_analysis to format_analysis_output(), causing Tier 3 ATT results to be silently dropped from serialized output despite analysis_tier=3.

Test plan

  • 4 new tests verifying att_trace in JSON, schema version 0.4.0, ATT in webview
  • E2E: analyze_database(att_dir=...) → to_json() → att_trace present

🤖 Generated with Claude Code

Stacking note

This PR is based on the ROCM-21553 feature stack (#4968-#4972). Its own change is only: ai_analysis/api.py (2 lines adding att_analysis param) + test_att_serialization.py (4 tests).

Merge after #4972 lands, then rebase onto develop for a clean diff.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Apr 13, 2026
@ammarwa
ammarwa force-pushed the review-findings/f4-att-serialization branch 3 times, most recently from db67acb to 674faf3 Compare April 13, 2026 19:31
@ammarwa
ammarwa force-pushed the review-findings/f4-att-serialization branch from 674faf3 to 17e53b6 Compare April 13, 2026 20:38
@ammarwa
ammarwa changed the base branch from develop to rocm21553/pr4-fix-tool-commands April 13, 2026 20:41
@ammarwa
ammarwa force-pushed the rocm21553/pr4-fix-tool-commands branch from 2beb62b to d2cd4dd Compare April 13, 2026 20:48
@ammarwa
ammarwa force-pushed the review-findings/f4-att-serialization branch from 17e53b6 to 1bef8a5 Compare April 13, 2026 20:49
@ammarwa
ammarwa marked this pull request as ready for review April 13, 2026 20:54
@ammarwa
ammarwa requested a review from bwelton April 13, 2026 20:54
@ammarwa
ammarwa force-pushed the rocm21553/pr4-fix-tool-commands branch from d2cd4dd to d67b1fb Compare April 13, 2026 21:02
@ammarwa
ammarwa force-pushed the review-findings/f4-att-serialization branch from 1bef8a5 to b5edfad Compare April 13, 2026 21:02
@ammarwa
ammarwa force-pushed the rocm21553/pr4-fix-tool-commands branch from d67b1fb to f9a82b1 Compare April 13, 2026 21:11
@ammarwa
ammarwa force-pushed the review-findings/f4-att-serialization branch 2 times, most recently from ef9ffef to 4206e9a Compare April 13, 2026 21:17
@ammarwa
ammarwa force-pushed the rocm21553/pr4-fix-tool-commands branch from f9a82b1 to e0ac9a3 Compare April 14, 2026 00:14
…alization

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ammarwa
ammarwa force-pushed the review-findings/f4-att-serialization branch from 4206e9a to b5f4898 Compare April 14, 2026 00:16
@ammarwa
ammarwa merged commit 3dc7740 into ROCm:rocm21553/pr4-fix-tool-commands Apr 17, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation organization: ROCm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants