Skip to content

feat(TE-16223): hide internal unknown-branch sentinel and harden git info parsing - #553

Open
shrinishLT wants to merge 1 commit into
LambdaTest:stagefrom
shrinishLT:TE-16223
Open

feat(TE-16223): hide internal unknown-branch sentinel and harden git info parsing#553
shrinishLT wants to merge 1 commit into
LambdaTest:stagefrom
shrinishLT:TE-16223

Conversation

@shrinishLT

@shrinishLT shrinishLT commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

CLI side of TE-16223 (SmartUI Managed Baseline for omni projects). The CLI needs almost nothing for the new mode — git is already optional client-side and --markBaseline is already sent in the build payload — so this PR is just the two user-facing cleanups:

  • Never show unknown-branch: it's an internal sentinel for git-less builds. The results summary, omni header, and saved results file (branchName) now omit the branch when it's empty or the sentinel (displayBranchName helper).
  • Crash fix: file-based git info (SMARTUI_GIT_INFO_FILEPATH) with a missing commit_id threw a TypeError that killed the whole run; now falls back to an empty commit id.

Companion PRs: DES LambdatestIncPrivate/dotlapse-event-service#2828 · LSRS LambdatestIncPrivate/smartui-rendering-service#1243

Verified: tsup build clean; tsc --noEmit shows no errors in touched files (the single tsconfig TS5110 error is pre-existing on stage).

🤖 Generated with Claude Code

…info parsing

Builds on managed-baseline (single_baseline) omni projects carry the
internal unknown-branch sentinel; suppress it in the results summary,
omni header, and saved results file instead of showing it to users.
Also hardens file-based git info against a missing commit_id, which
previously crashed the whole run with a TypeError.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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