Repository navigation
Clarify OneBranch localization validation under failOnValidationError - #4838
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The authoritative OneBranch guidance still incorrectly states that non-official validation defaults to strict mode.
1 open finding
What changed in this PR
Defaults non-official OneBranch validation to report-only while preserving strict official validation.
Changes:
- Adds configurable localization resource and allowlist selection.
- Adds allowlist-isolation tests.
- Documents validation behavior.
| File | Description |
|---|---|
BUILDGUIDE.md |
Documents validation policy. |
build-buildproj-job.yml |
Supplies driver localization inputs. |
validate-localization-step.yml |
Adds explicit localization parameters. |
validate-localization.ps1 |
Selects configurable allowlist sections. |
validate-localization.Tests.ps1 |
Tests section isolation and errors. |
sqlclient-non-official.yml |
Defaults validation to report-only. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Keep report-only validation as an explicit queue-time opt-out and align the build guide and OneBranch guidance with the strict default. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
/azp run |
|
Azure Pipelines: 3 pipeline(s) were filtered out due to trigger conditions. |
cheenamalhotra
left a comment
There was a problem hiding this comment.
How are these changes related to AOT again? Please don't mix terms/feature names with changes that have no links.
This should be an independent PR outside of the AOT stack.
0bc372e to
6037e56
Compare
The sqlclient-non-official pipelines cannot be run successfully without these changes because we have new unlocalized strings on main. I'm fine to split this work out as long as sqlclient-non-official runs successfully on main, which it didn't at the time the stack was created. |
Keep validation strict by default and document the report-only option. Resource-owner generalization belongs to the Abstractions localization PR. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
6037e56 to
e5462ae
Compare
Address Copilot feedback by wrapping the validation-policy paragraph without changing its wording or behavior. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
benrr101
left a comment
There was a problem hiding this comment.
This definitely is not P0, but alright


Description
Clarify that OneBranch localization validation participates in the shared
failOnValidationErrorflag.