Skip to content

fix(validation): catch hyphenated URL version segments#368

Closed
LarryHu0217 wants to merge 1 commit into
camaraproject:mainfrom
LarryHu0217:codex/url-version-hyphen-367
Closed

fix(validation): catch hyphenated URL version segments#368
LarryHu0217 wants to merge 1 commit into
camaraproject:mainfrom
LarryHu0217:codex/url-version-hyphen-367

Conversation

@LarryHu0217

Copy link
Copy Markdown

What type of PR is this?

bug

What this PR does / why we need it:

Updates URL version-segment matching so validation captures the complete version path segment after an API-shaped segment, including malformed values such as v0.1-eri.

This makes P-025 report malformed feature-file URL versions instead of silently skipping them, and makes P-004 report malformed server URL version segments as mismatches rather than as missing/unrecognisable versions.

Which issue(s) this PR fixes:

Fixes #367

Special notes for reviewers:

The change keeps URLs without any version-like segment in the existing “no recognisable version” path. The new behavior only applies when the segment is version-like (v... or wip) but malformed or unexpected.

Changelog input

 release-note
NONE

Additional documentation

This section can be blank.

docs
NONE

@linux-foundation-easycla

linux-foundation-easycla Bot commented Jul 7, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: LarryHu0217 / name: Liang Hu (0ee9c71)

@hdamker

hdamker commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Superseded by #369, the fix for #367 (already in progress when this PR was opened). EasyCLA is also unsigned here, so it couldn't be merged as-is. Closing.

@hdamker hdamker closed this Jul 7, 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.

Validation: P-025 silently skips hyphenated URL version segments in feature-file steps

2 participants