Skip to content

Conversation

@anthony-murphy-agent
Copy link
Contributor

@anthony-murphy-agent anthony-murphy-agent commented Jan 8, 2026

Summary

  • Adds explicit return type to policies getter in test mock to satisfy @typescript-eslint/explicit-function-return-type rule

Root cause

Race condition between two PRs:

Event Time (UTC)
PR #26151 created (prefetch fix) Jan 7, 23:12
PR #26149 merged (ESLint rule promotion) Jan 8, 01:45
PR #26151 merged Jan 8, 18:38

PR #26151's CI ran before the ESLint rule was promoted in #26149. By the time #26151 was merged, the stricter linting rule was already in place, but CI wasn't re-run against the updated main branch.

Test plan

  • ESLint passes locally

🤖 Generated with Claude Code

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 26161 in repo microsoft/FluidFramework

1 similar comment
@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 26161 in repo microsoft/FluidFramework

@anthony-murphy
Copy link
Contributor

/azp run Build - api-markdown-documenter, Build - benchmark-tool, Build - build-common, Build - build-tools, Build - client packages, Build - common-utils, Build - eslint-config-fluid, Build - eslint-plugin-fluid, Build - protocol-definitions, Build - test-tools

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@anthony-murphy
Copy link
Contributor

/azp run repo-policy-check, server-gitrest, server-gitssh, server-historian, server-routerlicious

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@anthony-murphy anthony-murphy enabled auto-merge (squash) January 8, 2026 19:32
Copy link
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

This PR adds an explicit return type annotation to the policies getter in a test mock class to satisfy the @typescript-eslint/explicit-function-return-type ESLint rule.

Key Changes

  • Adds return type annotation : undefined to the policies getter in MockStorageService class

Add explicit return type to satisfy @typescript-eslint/explicit-function-return-type rule.

Co-Authored-By: anthony-murphy <anthony.murphy@microsoft.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
auto-merge was automatically disabled January 8, 2026 19:36

Head branch was pushed to by a user without write access

@anthony-murphy-agent anthony-murphy-agent force-pushed the fix/driver-utils-eslint-return-type branch from 8dbc64c to bcd701f Compare January 8, 2026 19:36
@anthony-murphy-agent
Copy link
Contributor Author

Azure Pipelines commands (copy and post separately, limit of 10 at a time):

/azp run Build - api-markdown-documenter, Build - benchmark-tool, Build - build-common, Build - build-tools, Build - client packages, Build - common-utils, Build - eslint-config-fluid, Build - eslint-plugin-fluid, Build - protocol-definitions, Build - test-tools
/azp run repo-policy-check, server-gitrest, server-gitssh, server-historian, server-routerlicious

@anthony-murphy
Copy link
Contributor

/azp run Build - api-markdown-documenter, Build - benchmark-tool, Build - build-common, Build - build-tools, Build - client packages, Build - common-utils, Build - eslint-config-fluid, Build - eslint-plugin-fluid, Build - protocol-definitions, Build - test-tools

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@anthony-murphy
Copy link
Contributor

/azp run repo-policy-check, server-gitrest, server-gitssh, server-historian, server-routerlicious

@anthony-murphy anthony-murphy enabled auto-merge (squash) January 8, 2026 19:42
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@anthony-murphy anthony-murphy merged commit 5d19f7e into microsoft:main Jan 8, 2026
34 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.

3 participants