Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Flag type divergence in attribute deprecation chains

Open
#499 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript

Research direction

Start by locating the convention tests that validate attribute deprecation chains and the documentation generation or rendering entry point. Add coverage for diverging types so the status is not backfill, then add a warning-like indication in the docs. Done means both the validation behavior and the documented warning are covered by tests.

Written by the indexing model from the issue text.

Description

Docs Task

If an attribute is deprecated in favour of a replacing attribute, Relay and the Sentry backend can automatically backfill and forward-coalesce these chains, so that users continue receiving the deprecated and replacing attribute, regardless of what the SDK sent (within the backfilling period).

This only works as long as the types of the attributes in the deprecation chain are consistent. For diverging types, we can currently document them but backfilling wouldn't work. Therefore, we should:

  1. Test against type divergence in conventions: It's fine to document a type-diverging deprecation but in this case, the _status MUST NOT be 'backfill'. For now, it should be null. In the future, it might also be 'transform'.
  2. In docs, show a "warning-like" indication when an attribute has a type-diverging deprecation chain.

Further steps for transformations/normalization are subject to #465

Dominant language
TypeScript
Stars
16
Forks
7
Avg merge
2d 9h
Merged PRs (30d)
63

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-conventions

All issues in getsentry/sentry-conventions

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.