Skip to content

[7.1.0-preview1] ESRP Globbing#4245

Merged
benrr101 merged 1 commit into
mainfrom
dev/russellben/esrp-bs
Apr 28, 2026
Merged

[7.1.0-preview1] ESRP Globbing#4245
benrr101 merged 1 commit into
mainfrom
dev/russellben/esrp-bs

Conversation

@benrr101
Copy link
Copy Markdown
Contributor

Description

ESRP code signing is failing on internal/main because the search pattern doesn't match any dll files. This is because the esrp task is searching for the dll in the root of the build output. Instead it should be using a glob pattern to search all folders in the build output path.

Small issue, could've been caught if we were allowed to run ESRP signing against non-official pipelines, or run official pipelines against arbitrary branches, but nooooo...

@benrr101 benrr101 added this to the 7.1.0-preview1 milestone Apr 28, 2026
Copilot AI review requested due to automatic review settings April 28, 2026 19:19
@benrr101 benrr101 requested a review from a team as a code owner April 28, 2026 19:19
@github-project-automation github-project-automation Bot moved this to To triage in SqlClient Board Apr 28, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes OneBranch ESRP DLL signing in internal/main by updating the file search pattern to use minimatch globbing, so signing finds DLLs produced under target-framework subfolders in $(BUILD_OUTPUT).

Changes:

  • Update ESRP DLL signing pattern from a root-only filename match to a recursive glob (**/...) to match nested build outputs.

@cheenamalhotra
Copy link
Copy Markdown
Member

cheenamalhotra commented Apr 28, 2026

Might as well also look into paths here:

FolderPath: '${{ parameters.searchPath }}'

(I suspect this one needs an input value or should be changed)

and

Are they looking alright?

@benrr101 benrr101 merged commit 3af6e09 into main Apr 28, 2026
11 checks passed
@benrr101 benrr101 deleted the dev/russellben/esrp-bs branch April 28, 2026 19:34
paulmedynski pushed a commit that referenced this pull request May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants