Conversation
Semver Impact of This PR🟡 Minor (new features) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Attributes
Other
Bug Fixes 🐛
Documentation 📚
Internal Changes 🔧Deps
Deps Dev
Other
Other
🤖 This preview updates automatically when you update the PR. |
Add app_start_cold and app_start_warm as deprecated attributes pointing to app.vitals.start.cold.value and app.vitals.start.warm.value. Also adds alias cross-references on the new attributes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
35aaa1f to
e0b9378
Compare
There was a problem hiding this comment.
Pull request overview
This PR completes the mobile vitals legacy-deprecation set by adding deprecated legacy attributes for cold/warm app start durations and wiring up symmetric aliases to the newer app.vitals.* attributes.
Changes:
- Add new deprecated attributes
app_start_coldandapp_start_warm(backfill) with replacements pointing toapp.vitals.start.cold.value/app.vitals.start.warm.value. - Add alias cross-references on
app.vitals.start.cold.valueandapp.vitals.start.warm.valueto the legacy keys. - Regenerate language bindings / generated outputs to include the new attributes (Python/JS + shared deprecated list).
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| shared/deprecated_attributes.json | Adds generated deprecated entries for app_start_cold and app_start_warm. |
| python/src/sentry_conventions/attributes.py | Adds constants + metadata + alias links for new deprecated attributes in Python bindings. |
| model/attributes/app_start_warm.json | Defines legacy app_start_warm attribute as deprecated with replacement + alias. |
| model/attributes/app_start_cold.json | Defines legacy app_start_cold attribute as deprecated with replacement + alias. |
| model/attributes/app/app__vitals__start__warm__value.json | Adds alias back to app_start_warm for symmetric aliasing. |
| model/attributes/app/app__vitals__start__cold__value.json | Adds alias back to app_start_cold for symmetric aliasing. |
| javascript/sentry-conventions/src/attributes.ts | Adds constants/types/metadata and alias links for the new deprecated attributes in JS bindings. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@Lms24 you mind if I merge this? since we have the 3 day review period now but I think its fine in this case since it should've been part of the previous PR |
Summary
app_start_coldandapp_start_warmas deprecated attributes pointing toapp.vitals.start.cold.valueandapp.vitals.start.warm.valueapp.vitals.start.cold.valueandapp.vitals.start.warm.valueattributesThis was missed in #313 which added the other deprecated legacy attributes (
app_start_type,time_to_full_display,time_to_initial_display,frames.*).Test plan
yarn testpasses (4921 tests)yarn lintpassesyarn run generateproduces consistent output🤖 Generated with Claude Code