Skip to content

feat: rename CreatedTimestamp to StartTimestamp#17523

Merged
bwplotka merged 1 commit intomainfrom
ct-st-rename
Nov 13, 2025
Merged

feat: rename CreatedTimestamp to StartTimestamp#17523
bwplotka merged 1 commit intomainfrom
ct-st-rename

Conversation

@bwplotka
Copy link
Member

@bwplotka bwplotka commented Nov 13, 2025

Partially fixes #17416 by renaming all CT* names to ST* in the whole codebase except protos:

  • RW2 (this is done in separate PR)
  • PrometheusProto exposition proto (not sure if we want to change this)
CreatedTimestamp -> StartTimestamp
CreatedTimeStamp -> StartTimestamp
created_timestamp -> start_timestamp
CT -> ST
ct -> st

Does this PR introduce a user-facing change?

NONE

@bwplotka bwplotka force-pushed the ct-st-rename branch 2 times, most recently from 3ef5680 to c5c6783 Compare November 13, 2025 09:15
@bwplotka bwplotka force-pushed the ct-st-rename branch 4 times, most recently from 964f963 to 195c225 Compare November 13, 2025 09:23
@bwplotka bwplotka marked this pull request as ready for review November 13, 2025 09:23
@bwplotka bwplotka requested a review from ArthurSens November 13, 2025 09:23
@bwplotka bwplotka force-pushed the ct-st-rename branch 3 times, most recently from f00d829 to 7b39f59 Compare November 13, 2025 12:53
Partially fixes #17416 by
renaming all CT* names to ST* in the whole codebase except RW2 (this is
done in separate
[PR](#17411)) and
PrometheusProto exposition proto.

```
CreatedTimestamp -> StartTimestamp
CreatedTimeStamp -> StartTimestamp
created_timestamp -> start_timestamp
CT -> ST
ct -> st

```

Signed-off-by: bwplotka <bwplotka@gmail.com>
Copy link
Member

@ArthurSens ArthurSens left a comment

Choose a reason for hiding this comment

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

Thank you, this must have been an exhausting PR 😅

@bwplotka
Copy link
Member Author

Nah, it was fun.

It could be efficient if wrote a single replace regex, instead I was playing with few e.g. ([ .\(])ct([ A-Z\),:) -> $1st$2

@bwplotka bwplotka enabled auto-merge (squash) November 13, 2025 13:36
@bwplotka
Copy link
Member Author

Merging given only one test failure from the knowingly flaky test: --- FAIL: TestRemoteWrite_ReshardingWithoutDeadlock (30.60s)

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.

Rename CreatedTimestamp (CT) to StartTimestamp (ST)

2 participants