Skip to content

feat: fractional shorthand with missing targeting key - #446

Merged
toddbaert merged 1 commit into
mainfrom
test/fractional-shorthand-missing-key
Nov 6, 2026
Merged

toddbaert merged 1 commit into
mainfrom
test/fractional-shorthand-missing-key

Conversation

@toddbaert

Copy link
Copy Markdown
Member

Adds a scenario asserting that the fractional shorthand (implicit targetingKey seed) falls back to the default variant when targetingKey is absent from the context. The existing missing-bucket-key scenario only covered an explicit var seed.

Verified against the Go provider (RPC and in-process).

@toddbaert
toddbaert requested a review from a team as a code owner November 6, 2026 16:46
@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Added a targeting scenario for fractional shorthand evaluation without a targeting key. It expects the resolved value draw and reason DEFAULT.

Changes: Fractional shorthand default evaluation

Layer / File(s) Summary
Default evaluation without targeting key
gherkin/targeting.feature
The scenario checks that evaluation without a targeting key returns draw with reason DEFAULT.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: bacherfl

Merge Risk: Minimal · up to aad11

The new scenario checks the configured default value and reason. No actionable merge risk is established by the available evidence.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title identifies the fractional shorthand and missing targeting key scenario.
Description check Passed The description accurately describes the added default-variant scenario.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0b068ab3-6ec4-470a-b223-a07fb5fb3517
Commits

Reviewing files that changed from the base of the PR and between 6fe469d and aad119b.

Files selected for processing: 1

  • gherkin/targeting.feature

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@toddbaert
toddbaert merged commit f371b63 into main Nov 6, 2026
4 checks passed
aepfli added a commit that referenced this pull request Nov 16, 2026
aepfli added a commit that referenced this pull request Nov 30, 2026
aepfli added a commit that referenced this pull request Dec 1, 2026
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.

2 participants