Skip to content

[release-branch.go1.26] Skip doc reproducibility test if document is a copy - #2673

Merged
Davis Goodin (dagood) merged 1 commit into
microsoft/release-branch.go1.26from
dev/dagood/ok-gen-doc-copy-1.26
Oct 28, 2026
Merged

Davis Goodin (dagood) merged 1 commit into
microsoft/release-branch.go1.26from
dev/dagood/ok-gen-doc-copy-1.26

Conversation

@dagood

Copy link
Copy Markdown
Member

@dagood
Davis Goodin (dagood) requested a review from a team as a code owner October 28, 2026 18:56
Copilot AI balanced review requested due to automatic review settings October 28, 2026 18:56
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the change to recognize automatically copied crypto documentation and skip local regeneration checks.

No open issues 🎉

What changed in this PR

Ports #2672 to release-branch.go1.26, preventing documentation syncs from failing the crypto documentation reproducibility test when the document is maintained by automatic copying.

Changes:

  • Adds a shared helper to recognize the copy notice with either LF or CRLF line endings.
  • Tests copied documents and nonmatching prefixes.
  • Skips local regeneration checks for automatically copied crypto documentation.
File Description
eng/​_util/​internal/​docutil/​docutil.go Detects the automatic documentation copy notice.
eng/​_util/​internal/​docutil/​docutil_test.go Tests copy detection, line endings, and prefix edge cases.
eng/​_util/​cmd/​updatecryptodocs/​updatecryptodocs_test.go Skips the reproducibility test for copied documents.

Review effort: Balanced

@dagood
Davis Goodin (dagood) enabled auto-merge (squash) October 28, 2026 22:01
@dagood
Davis Goodin (dagood) merged commit 7c65ca5 into microsoft/release-branch.go1.26 Oct 28, 2026
48 checks passed
@dagood
Davis Goodin (dagood) deleted the dev/dagood/ok-gen-doc-copy-1.26 branch October 28, 2026 22:34
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.

3 participants