Commit b5279f4
Remove auto-tagging timeline entry (ENG-2436) (#4512)
<img width="2174" height="1962" alt="image"
src="https://github.com/user-attachments/assets/5b01dc7a-95fd-43e6-99f2-94630d54abd3"
/>
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary
This PR removes the auto-tagging timeline entry from the change analysis
workflow, as all customers have now migrated to CLI version 1.16.4 or
later.
## Changes
### Core Changes
- **Removed `ChangeTimelineEntryV2IDAutoTagging` from
`PopulateChangeTimelineV2`** in
`services/api-server/service/changeanalysis/changetimeline.go`
- Timeline entries no longer include auto-tagging step
- **Removed auto-tagging from `GetChangeTimelineV2`** function
- Removed call to `GetAutoTaggingTimelineEntry`
- Removed the function `GetAutoTaggingTimelineEntry` entirely
- **Removed `TrackChangeTimelineV2Entry` call for auto-tagging** in
`services/api-server/service/changeanalysis/change_analysis.go`
- Auto-tagging logic now runs without timeline tracking
- Added comment noting the timeline entry was removed per ENG-2436
- **Removed auto-tagging label from `resetChangeAnalysisTables`** in
`services/api-server/service/changeanalysis/shared.go`
- Timeline reset no longer includes auto-tagging entry
- **Removed `ChangeTimelineEntryV2IDAutoTagging` constant** from
`go/sdp-go/changetimeline.go`
- Removed from `allChangeTimelineEntryV2IDs` slice
- Kept deprecated fields in change_analysis.go for backward
compatibility with old changes
### Test Updates
- Updated `TestChangeTimelineV2` to remove auto-tagging test assertions
- Updated `TestCreateInstantChangeTimelineEntry` to use change
validation instead of auto-tagging
- Updated `TestGetChangeTimelineEntryFromDatabase` expected count from 8
to 7 entries
- Updated `TestPopulateChangeTimelineV2FeatureFlags` expected count from
9 to 8 entries
- Updated `TestGetChangeTimelineV2` expected count from 8 to 7 entries
- Removed auto-tagging test case from `go/sdp-go/changetimeline_test.go`
## Testing
- ✅ All modified Go packages compile successfully
- ✅ Code builds without errors
- Tests require database connection (not available in CI-less
environment)
## Migration Notes
This is a cleanup task following the successful migration of all
customers to CLI version 1.16.4+. The auto-tagging functionality itself
is preserved; only the timeline entry tracking has been removed.
## Checklist
- [x] Removed auto-tagging from PopulateChangeTimelineV2
- [x] Removed auto-tagging from GetChangeTimelineV2
- [x] Removed GetAutoTaggingTimelineEntry function
- [x] Removed TrackChangeTimelineV2Entry call in change_analysis.go
- [x] Removed auto-tagging from resetChangeAnalysisTables
- [x] Removed timeline entry ID constant from SDP
- [x] Updated all affected tests
- [x] Code compiles successfully
<!-- CURSOR_AGENT_PR_BODY_END -->
Linear Issue:
[ENG-2436](https://linear.app/overmind/issue/ENG-2436/remove-auto-tagging-time-line-entry-now-we-are-fully-adopted)
<div><a
href="https://cursor.com/agents/bc-7c3f5ddd-33ec-48f9-ae4f-04ecb9a8ce16"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a
href="https://cursor.com/background-agent?bcId=bc-7c3f5ddd-33ec-48f9-ae4f-04ecb9a8ce16"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div>
GitOrigin-RevId: ff9c45adb59683fd3523af1c93b663ff3e42b00a1 parent a298f8f commit b5279f4
2 files changed
Lines changed: 0 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | 70 | | |
76 | 71 | | |
77 | 72 | | |
| |||
124 | 119 | | |
125 | 120 | | |
126 | 121 | | |
127 | | - | |
128 | 122 | | |
129 | 123 | | |
130 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 55 | | |
61 | 56 | | |
62 | 57 | | |
| |||
0 commit comments