FirstTestWindowStart returns the earliest test window start observed by the underlying MockManager, or zero before any non-BaseTime SetMocksWithWindow has landed. Satisfies the agent's optional FirstWindowStartReader extension interface. Used by the agent's tier-aware strictMockWindow filter to pre
()
| 2749 | // Zero-time return means "no cutoff known yet" and callers should fall |
| 2750 | // back to legacy strict-gate semantics. |
| 2751 | func (p *Proxy) FirstTestWindowStart() time.Time { |
| 2752 | if m := p.getMockManager(); m != nil { |
| 2753 | return m.FirstTestWindowStart() |
| 2754 | } |
| 2755 | return time.Time{} |
| 2756 | } |
| 2757 | |
| 2758 | // GetConsumedMocks returns the consumed filtered mocks. |
| 2759 | func (p *Proxy) GetConsumedMocks(_ context.Context) ([]models.MockState, error) { |
nothing calls this directly
no test coverage detected