Skip to content

Improve Azure DevOps authentication diagnostics by @Evangelink in #10999 (backport to rel/4.4) - #11036

Merged
Amaury Levé (Evangelink) merged 6 commits into
microsoft:rel/4.4from
nohwnd-bot:backport/10999/to/rel/4.4
Sep 4, 2026
Merged

Improve Azure DevOps authentication diagnostics by @Evangelink in #10999 (backport to rel/4.4)#11036
Amaury Levé (Evangelink) merged 6 commits into
microsoft:rel/4.4from
nohwnd-bot:backport/10999/to/rel/4.4

Conversation

@nohwnd-bot

Copy link
Copy Markdown
Contributor

Backport of #10999 to rel/4.4

/cc Amaury Levé (@Evangelink)

Stop following Azure DevOps authentication redirects and report actionable guidance for unavailable fork-build tokens. Reject successful HTML responses with status and content-type details instead of surfacing JSON parse failures.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Recognize unauthorized and browser opaque redirect responses, while preserving WASI compatibility when configuring redirect behavior.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Log unexpected successful HTML responses without retrying non-idempotent result publishing, while retaining exceptions for other request paths.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Treat the HTML response diagnostic as best-effort so a failing logger cannot requeue a non-idempotent Azure DevOps result batch.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Make the logger-failure regression test explicitly verify that the non-idempotent Azure DevOps request is not replayed.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Direct fork pull request builds to publish from a separate trusted context instead of recommending that secrets be exposed to untrusted fork code.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@Evangelink
Amaury Levé (Evangelink) merged commit 518fb4e into microsoft:rel/4.4 Sep 4, 2026
9 checks passed
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