DX | 20-07-2026 | Release#209
Merged
Merged
Conversation
chore: back-merge main into development
- **New** - **Branch override for Entry Variants**: `Entry.Variant(uid?, branchUid?)` accepts an optional `branchUid` so a single variant call (`Find`, `Create`, `Update`, `Fetch`, `Delete`) can target a branch other than the `Stack`'s configured one, by overriding the `branch` request header. Passing `null`/whitespace falls back to the Stack's own branch. - **Publish/Unpublish for Entry Variants**: `EntryVariant.Publish`/`PublishAsync` and `EntryVariant.Unpublish`/`UnpublishAsync`, matching the same `PublishUnpublishDetails` contract as `Entry.Publish`/`Unpublish`, and respecting the same branch override.
chore: back-merge main into development
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…-override assertions
…n branch-override assertions" This reverts commit a75c310.
This reverts commit 1a69925.
This reverts commit b23f36a.
This reverts commit 6c4ffbd.
This reverts commit df8af7b.
This reverts commit 44aeae2.
…iability - Remove version duplication in AddVariantToDetails: auto-created PublishVariant now carries only the variant Uid, keeping entry version at the top-level only - Snapshot service.Headers into a new Dictionary in MockHttpHandler (both sync and async) to prevent later mutations from corrupting header assertions - Tighten always-true assertions in Test084/Test085 integration tests to assert response.IsSuccessStatusCode instead of the tautological success-or-error check - Update Should_Publish_EntryVariant unit test to match new variant behavior Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add WaitBeforeRetryAsync to RetryPolicy base class so the async retry loop can await the delay instead of blocking a thread pool thread - Override WaitBeforeRetryAsync in DefaultRetryPolicy with a proper async implementation; sync WaitBeforeRetry now delegates to it via GetResult - RetryHandler.InvokeAsync now awaits WaitBeforeRetryAsync instead of calling the blocking WaitBeforeRetry - Replace DateTime.UtcNow with Stopwatch in InvokeAsync_Applies_NetworkRetryDelay and InvokeAsync_Applies_HttpRetryDelay: Stopwatch uses QueryPerformanceCounter and is not subject to the 15.6ms Windows system clock resolution that caused the 50ms delay assertion to sporadically fail in CI Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace DateTime.UtcNow with Stopwatch in all three WaitBeforeRetry timing tests. DateTime.UtcNow has ~15ms resolution on Windows CI runners, making tight delay assertions (>= 200ms, <= 300ms) intermittently fail. Stopwatch uses QueryPerformanceCounter and is not subject to clock tick granularity. Also remove upper-bound assertions — the important correctness check is that the delay was applied (lower bound), not how long the OS scheduler took. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Catch 409/422 from Branch.Create separately so a leftover branch no longer routes into the generic catch that calls Assert.Inconclusive. The catch-all now only fires for genuine feature-unavailable scenarios. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Updated the release date for version 1.1.0 in the changelog.
feat: Added branch support in entry variants
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
cs-raj
approved these changes
Jul 20, 2026
harshitha-cstk
approved these changes
Jul 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.