Skip to content

chore: depreacte CIUtils.runTitle() method#20

Merged
aslushnikov merged 1 commit into
mainfrom
deprecate-run-title
Mar 24, 2026
Merged

chore: depreacte CIUtils.runTitle() method#20
aslushnikov merged 1 commit into
mainfrom
deprecate-run-title

Conversation

@aslushnikov

Copy link
Copy Markdown
Contributor

Turns out there's no good way to extract title from the CI.

Turns out there's no good way to extract title from the CI.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a91a180dd6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/ciUtils.ts
*/
export function runTitle(): string | undefined {
return githubActionsTitle();
return undefined;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep deprecated runTitle from dropping existing titles

Returning undefined unconditionally here is a silent behavioral break for existing callers of CIUtils.runTitle(): in GitHub Actions jobs where GITHUB_WORKFLOW is set, reports that previously got a meaningful title will now lose it unless every consumer is migrated immediately to set title manually. Because the function type is unchanged (string | undefined), this regression is easy to miss in downstream code, so deprecating the API should preserve the prior fallback behavior until removal.

Useful? React with 👍 / 👎.

@aslushnikov aslushnikov merged commit 39451ba into main Mar 24, 2026
5 checks passed
@aslushnikov aslushnikov deleted the deprecate-run-title branch March 24, 2026 03:28
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.

1 participant