Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

@ammar-agent ammar-agent commented Dec 10, 2025

The BulkReviewActions story was unstable because createReview() used Math.random() for createdAt timestamps, causing reviews to appear in different orders on each render.

Fix: Add optional createdAt parameter to createReview() and pass deterministic timestamps in the story.

Also adds guidance to AGENTS.md: keep story data deterministic to avoid visual instability.

Generated with mux

@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@ammar-agent ammar-agent force-pushed the bulk-review-comment-ordering branch from d43f02d to 5d7aae8 Compare December 10, 2025 00:27
The BulkReviewActions story was unstable because createReview() used
Math.random() for createdAt timestamps, causing reviews to appear in
different orders on each render.

Fix: Add optional createdAt parameter to createReview() and pass
deterministic timestamps in the story.

_Generated with mux_
@ammar-agent ammar-agent force-pushed the bulk-review-comment-ordering branch from 5d7aae8 to 4066370 Compare December 10, 2025 00:38
@ammario ammario merged commit bae51a7 into main Dec 10, 2025
20 checks passed
@ammario ammario deleted the bulk-review-comment-ordering branch December 10, 2025 00:49
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