Skip to content

chore(agents): Require generated mocks - #1150

Merged
prathshenoy merged 1 commit into
mainfrom
chore/generated-mock-guidance
Nov 30, 2026
Merged

prathshenoy merged 1 commit into
mainfrom
chore/generated-mock-guidance

Conversation

@prathshenoy

@prathshenoy prathshenoy commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

What:

  • Require generated mocks for dependency interfaces while allowing stateful in-memory backends when their behavior is needed.

Why:

  • Stop agents from bypassing the existing mock-generation workflow with hand-written substitutes that repeatedly require reviewer corrections.

Test Plan

  • Review the testing guidance against the existing generation workflow.

Revert Plan

  • Revert this PR. No runtime behavior changes.

Issue Links

@prathshenoy prathshenoy changed the title chore(testing): Require generated mocks chore(agents): Require generated mocks Nov 30, 2026
@prathshenoy
prathshenoy added this pull request to stack #1151 November 30, 2026 16:20
@prathshenoy
prathshenoy marked this pull request as ready for review November 30, 2026 16:23
@prathshenoy
prathshenoy requested review from a team and sbalabanov as code owners November 30, 2026 16:23
## Summary
**What**:
- Require generated mocks for dependency interfaces while retaining stateful backends and fixture helpers.

**Why**:
- Stop agents from bypassing the existing mock-generation workflow with hand-written substitutes that repeatedly require reviewer corrections.

## Test Plan
- [x] Review the testing guidance against the existing generation workflow.

## Revert Plan
- Revert this PR. No runtime behavior changes.

## Issue Links
- [CODEM-449](https://linear.app/uber/issue/CODEM-449/ktlo-task)
@prathshenoy
prathshenoy force-pushed the chore/generated-mock-guidance branch from ff97b08 to d059da2 Compare November 30, 2026 16:27
@prathshenoy
prathshenoy added this pull request to the merge queue Nov 30, 2026
Merged via the queue into main with commit 6fc316f Nov 30, 2026
21 checks passed
@prathshenoy
prathshenoy deleted the chore/generated-mock-guidance branch November 30, 2026 17:05
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