Skip to content

feat(attributes): Deprecate app_start_cold and app_start_warm#323

Merged
buenaflor merged 1 commit intomainfrom
giancarlobuenaflor/add-app-start-ttid-ttfd-attributes
Apr 16, 2026
Merged

feat(attributes): Deprecate app_start_cold and app_start_warm#323
buenaflor merged 1 commit intomainfrom
giancarlobuenaflor/add-app-start-ttid-ttfd-attributes

Conversation

@buenaflor
Copy link
Copy Markdown
Contributor

Summary

  • Adds app_start_cold and app_start_warm as deprecated attributes pointing to app.vitals.start.cold.value and app.vitals.start.warm.value
  • Adds alias cross-references on the app.vitals.start.cold.value and app.vitals.start.warm.value attributes

This 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 test passes (4921 tests)
  • yarn lint passes
  • yarn run generate produces consistent output

🤖 Generated with Claude Code

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 15, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Attributes

  • Deprecate app_start_cold and app_start_warm by buenaflor in #323
  • Add app.vitals.* attributes for mobile performance by buenaflor in #313
  • Add remaining app context attributes by buenaflor in #304
  • Add sentry.mobile and sentry.main_thread attributes by buenaflor in #317
  • Add more device context attributes by buenaflor in #303
  • Add OS context attributes by buenaflor in #301
  • Add gen_ai.function_id attribute by constantinius in #308
  • Add gen_ai.context.window_size and gen_ai.context.utilization for generation spans by constantinius in #315
  • Add db.driver.name attribute by alexander-alderman-webb in #295
  • Add network connection-related attributes by Lms24 in #279
  • Add cache.write attribute by adinauer in #292
  • Add device context attributes by buenaflor in #300
  • Add app context attributes for mobile by buenaflor in #296
  • Add device memory and core count attributes by Lms24 in #281
  • Add ui.element.* attributes by Lms24 in #284
  • Add remaining TTFB, FCP and FP web vital attributes by Lms24 in #235
  • Add LCP web vital meta attributes by Lms24 in #233
  • Add CLS web vital source attribute by Lms24 in #234
  • Add core web web vital value attributes by Lms24 in #229
  • Add allow_any_value field to attribute schema by vgrozdanic in #272

Other

  • (http) Add http.server.request.time_in_queue attribute by dingsdax in #267
  • (resource) Add resource.deployment.environment by mjq in #266
  • Add sentry.timestamp.sequence attribute to the spec by logaretm in #262
  • Add changelog tracking to attribute definitions by ericapisani in #270

Bug Fixes 🐛

  • (attributes) Remove allow_any_value boolean attribute and allow any as type by vgrozdanic in #273
  • (gen_ai) Input and output token description by obostjancic in #261
  • (release) Run yarn install before yarn generate in pre-release script by vgrozdanic in #316
  • (sentry) Deprecate sentry.trace.parent_span_id by mjq in #287
  • Don't run changelog generation on yarn generate by Lms24 in #277
  • Avoid changelog generation recursion by Lms24 in #274

Documentation 📚

  • (sentry) Add deprecated sentry.source by s1gr1d in #288
  • Redirect from old /generated pages to new routes by Lms24 in #291
  • Remove extra yarn run format instruction by mjq in #289
  • Update README with up-to-date links by ericapisani in #258

Internal Changes 🔧

Deps

  • Bump defu from 6.1.4 to 6.1.6 by dependabot in #309
  • Bump vite from 6.4.1 to 6.4.2 by dependabot in #310
  • Bump pygments from 2.19.2 to 2.20.0 in /python by dependabot in #307
  • Bump smol-toml from 1.6.0 to 1.6.1 by dependabot in #305
  • Bump h3 from 1.15.5 to 1.15.9 by dependabot in #299
  • Bump devalue from 5.6.3 to 5.6.4 by dependabot in #286
  • Bump dompurify from 3.3.1 to 3.3.2 by dependabot in #278
  • Bump svgo from 3.3.2 to 3.3.3 by dependabot in #275
  • Bump svelte from 5.51.5 to 5.53.5 by dependabot in #271
  • Bump rollup from 4.40.1 to 4.59.0 by dependabot in #269
  • Bump svelte from 5.48.1 to 5.51.5 by dependabot in #260

Deps Dev

  • Bump tar from 7.5.10 to 7.5.11 by dependabot in #285
  • Bump tar from 7.5.8 to 7.5.10 by dependabot in #276
  • Bump tar from 7.5.7 to 7.5.8 by dependabot in #259

Other

  • (ai) Deprecate rest of ai.* attributes by constantinius in #264
  • (attributes) Ensure each attribute json has a changelog entry by Lms24 in #282
  • (docs) Upgrade to Astro 6 by Lms24 in #283
  • (gen_ai) Deprecate gen_ai.tool.input, gen_ai.tool.message, gen_ai.tool.output by constantinius in #265
  • (publish) Bump next entries in changelog when releasing by Lms24 in #290
  • (repo) Populate changelog property when running yarn create:attribute by Lms24 in #280
  • Update CONTRIBUTING with process and minor changes by Lms24 in #255
  • Pin GitHub Actions to full-length commit SHAs by joshuarli in #302
  • Wrong link to CONTRIBUTING.md in PR template by sentrivana in #298

Other

  • deprecate(attributes): Mark gen_ai.tool.type as deprecated by ericapisani in #312

🤖 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>
@buenaflor buenaflor force-pushed the giancarlobuenaflor/add-app-start-ttid-ttfd-attributes branch from 35aaa1f to e0b9378 Compare April 15, 2026 10:57
@buenaflor buenaflor marked this pull request as ready for review April 15, 2026 10:59
@buenaflor buenaflor requested review from a team, Lms24, cleptric, lcian, mjq and nsdeschenes as code owners April 15, 2026 10:59
Copilot AI review requested due to automatic review settings April 15, 2026 10:59
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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_cold and app_start_warm (backfill) with replacements pointing to app.vitals.start.cold.value / app.vitals.start.warm.value.
  • Add alias cross-references on app.vitals.start.cold.value and app.vitals.start.warm.value to 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.

@buenaflor
Copy link
Copy Markdown
Contributor Author

@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

@buenaflor buenaflor merged commit ceda920 into main Apr 16, 2026
16 checks passed
@buenaflor buenaflor deleted the giancarlobuenaflor/add-app-start-ttid-ttfd-attributes branch April 16, 2026 09:51
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.

3 participants