Promote onAssertionFailure to beta#27282
Conversation
|
Hi! Thank you for opening this PR. Want me to review it? Based on the diff (22 lines, 8 files), I've queued these reviewers:
How this works
|
Fleet Review — CleanNo issues found across the reviewer fleet for this run. |
There was a problem hiding this comment.
Pull request overview
This PR promotes onAssertionFailure from @alpha to @beta across @fluidframework/core-utils and the fluid-framework bundle, updating the source JSDoc release tag and regenerating the affected API report artifacts.
Changes:
- Updated
onAssertionFailurerelease tag in@fluidframework/core-utilsfrom@alphato@beta. - Updated
fluid-frameworkre-export comment foronAssertionFailureto reflect the beta promotion and the import source. - Regenerated
core-utilsandfluid-frameworkAPI report files to reflect the new release tag.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/framework/fluid-framework/src/index.ts | Updates the comment describing the re-export/import rationale for the now-@beta API. |
| packages/framework/fluid-framework/api-report/fluid-framework.legacy.beta.api.md | Regenerated API report to include onAssertionFailure as @beta. |
| packages/framework/fluid-framework/api-report/fluid-framework.beta.api.md | Regenerated API report to include onAssertionFailure as @beta. |
| packages/framework/fluid-framework/api-report/fluid-framework.alpha.api.md | Regenerated API report showing the promoted @beta tag within the alpha surface. |
| packages/common/core-utils/src/assert.ts | Promotes the JSDoc release tag for onAssertionFailure to @beta. |
| packages/common/core-utils/api-report/core-utils.legacy.beta.api.md | Regenerated API report to include onAssertionFailure as @beta. |
| packages/common/core-utils/api-report/core-utils.beta.api.md | Regenerated API report to include onAssertionFailure as @beta. |
| packages/common/core-utils/api-report/core-utils.alpha.api.md | Regenerated API report showing the promoted @beta tag within the alpha surface. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: brrichards <brrichards@microsoft.com>
|
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output |
Summary
Promotes
onAssertionFailurefrom@alphato@betaonAssertionFailurelets apps register a first chance callback that fires immediately before an assertion failure throws.The API shape is unchanged only the release tag is updated. The comment in
fluid-framework/src/index.tsis updated to match, and the affected API report files are regenerated.Reviewer Guidance
The review process is outlined on this wiki page.