Skip to content

chore: Make TSDiff and Chromatic comment in slack thread#10100

Open
LFDanLu wants to merge 3 commits into
mainfrom
tsdiff_comment_fix
Open

chore: Make TSDiff and Chromatic comment in slack thread#10100
LFDanLu wants to merge 3 commits into
mainfrom
tsdiff_comment_fix

Conversation

@LFDanLu
Copy link
Copy Markdown
Member

@LFDanLu LFDanLu commented May 22, 2026

as per feedback from team

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

N/A, tested in test channel

🧢 Your Project:

RSP

@LFDanLu LFDanLu added the no testing Does not require manual testing during testing session label May 22, 2026
Comment on lines +195 to +198
model_input_full = open(delta_path).read() if os.path.exists(delta_path) else ""
TRUNCATE_LIMIT = 8000
truncated = len(model_input_full) > TRUNCATE_LIMIT
model_input = model_input_full[:TRUNCATE_LIMIT] if truncated else model_input_full
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need to come up with a way to shrink the diff/or summarize repetitive parts before sending it to the model since the payload can be too big if so. @snowystinger I think you said you were working on making the TSDiffer clean up its output so that it doesn't show unchanged parts of the API?

@rspbot
Copy link
Copy Markdown

rspbot commented May 22, 2026

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

Labels

no testing Does not require manual testing during testing session

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants