Skip to content

feat: Added branch support in entry variants - #171

Closed
OMpawar-21 wants to merge 1 commit into
enhc/betafrom
enhc/DX-7267
Closed

feat: Added branch support in entry variants#171
OMpawar-21 wants to merge 1 commit into
enhc/betafrom
enhc/DX-7267

Conversation

@OMpawar-21

Copy link
Copy Markdown
Contributor

No description provided.

- Added branchUid parameter to Entry.Variant() and EntryVariant class to allow querying and modifying variants on specific branches.
- Updated all API requests in EntryVariant to explicitly override the branch HTTP header when a valid branch UID is provided.
- Added a graceful fallback using string.IsNullOrWhiteSpace to default to the Stack's global branch configuration if an empty or whitespace string is passed.
- Added comprehensive unit tests verifying correct header injection and fallback behavior via the MockHttpHandler.
- Added end-to-end integration tests asserting happy path operations on a dev branch, negative testing for invalid branches, and fallback behavior.
- Bumped package version to 0.11.0"
@OMpawar-21
OMpawar-21 requested a review from a team as a code ownerMay 14, 2026 12:16
@OMpawar-21
OMpawar-21 changed the base branch from main to developmentMay 14, 2026 12:17
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check TypeCount (with fixes)Without fixesThresholdResult
🔴 Critical Severity0010✅ Passed
🟠 High Severity0025✅ Passed
🟡 Medium Severity00500✅ Passed
🔵 Low Severity001000✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

SeverityBreaches (with fixes)Breaches (no fixes)SLA Threshold (with/no fixes)Status
🔴 Critical0015 / 30 days✅ Passed
🟠 High0030 / 120 days✅ Passed
🟡 Medium0090 / 365 days✅ Passed
🔵 Low00180 / 365 days✅ Passed

✅ BUILD PASSED - All security checks passed

@sunil-lakshman
sunil-lakshman marked this pull request as draft May 15, 2026 06:45
@OMpawar-21OMpawar-21 self-assigned this Jul 6, 2026
@OMpawar-21
OMpawar-21 changed the base branch from development to enhc/betaJuly 13, 2026 06:20
@OMpawar-21

Copy link
Copy Markdown
ContributorAuthor

This implementation is done on this PR -> #207

CC: @netrajpatel , @reeshika-h , @cs-raj

Sign up for freeto 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.

2 participants

@OMpawar-21@sunil-lakshman