Skip to content

Fix/sdk 4165 build identifier dropped when build name env set (drop) - #254

Closed
harshit-browserstack wants to merge 6 commits into
sdk_v9_pre_prodfrom
fix/sdk-4165-build-identifier-dropped-when-build-name-env-set_drop
Closed

harshit-browserstack wants to merge 6 commits into
sdk_v9_pre_prodfrom
fix/sdk-4165-build-identifier-dropped-when-build-name-env-set_drop

Conversation

@harshit-browserstack

Copy link
Copy Markdown
Collaborator

What is this about?

Drop branch for #253 (fix/sdk-4165-build-identifier-dropped-when-build-name-env-set → sdk_v9_pre_prod), which conflicts with sdk_v9_pre_prod. Raised per the SDK Release Workflow, Handling Conflicts with sdk_pre_prod, Approach 1. The original feature branch is untouched.

Related Jira task/s

Release (mandatory for every PR — required for the ready-for-review label)

Version bump: (required — tick exactly one)

  • minor (backwards-compatible feature)
  • patch (bug fix or other small change)

Release notes type: (optional)

  • New Feature
  • Bug Fix
  • Other Improvement

Release notes (customer-facing): (optional but encouraged)

Release notes (internal): (required — engineer-facing; what actually changed / why)

Checklist

  • Ready to review
  • Has it been tested locally?

Local, on the merged result: tsc --noEmit clean. In tests/launcher.test.ts, all 5 _handleBuildIdentifier build-identifier cases pass (#251's three plus this branch's two); the only failures are the two _uploadApp tests, which fail identically on main.

PR Validations

Run Tests: Comment RUN_TESTS to trigger sanity tests.

🤖 Generated with Claude Code

_handleBuildIdentifier skipped buildIdentifier resolution whenever
BROWSERSTACK_BUILD_NAME was set, even though a buildName was available.
The skip also deleted buildIdentifier from the capabilities only — this
._buildIdentifier kept the unresolved '#${BUILD_NUMBER}' template, which
onPrepare forwards to TestHub as build_identifier.

Consequence: successive runs sharing a build name were never
disambiguated, so their sessions collapsed into a single build.

The guard now keys solely on the absence of a buildName, which is what
its own warning always claimed and what the binary's handleBuildIdentifier
already does (its BROWSERSTACK_BUILD_NAME skip is commented out). The
skip path additionally clears _buildIdentifier so the raw template is
never reported as a value.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Drop branch per the SDK release workflow (Handling Conflicts with sdk_pre_prod,
Approach 1). The conflict is with #251 (SDK-4748), which already contains the
SDK-4165 fix: BROWSERSTACK_BUILD_NAME no longer drops a configured
buildIdentifier, and this._buildIdentifier is cleared when buildName is absent.
- launcher.ts: take sdk_v9_pre_prod (#251), a superset of this branch's change.
- launcher.test.ts: take #251's tests for the shared case and keep this branch's
  two additional cases (BUILD_NUMBER resolution with BROWSERSTACK_BUILD_NAME set;
  no unresolved template retained in memory).
- drop .changeset/pr-192.md; the drop PR generates its own changeset.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@harshit-browserstack
harshit-browserstack requested a review from a team as a code owner September 29, 2026 14:31
@harshit-browserstack
harshit-browserstack requested review from vivianludrick and yashdsaraf and removed request for a team September 29, 2026 14:31
@harshit-browserstack harshit-browserstack added the skip-changeset CI/docs/chore PRs that should not be released (skips changeset-from-pr) label Sep 29, 2026
@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited), Workspace UI (inherited)

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 0ff59f35-cb92-45fc-bb3b-49939f9de2dc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bsautomation
bsautomation deleted the branch sdk_v9_pre_prod September 30, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changeset CI/docs/chore PRs that should not be released (skips changeset-from-pr)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants