Skip to content

Conversation

@cathteng
Copy link
Member

@cathteng cathteng commented Jan 7, 2026

#105674 round 2 and tests the behavior that broke

This is safe to merge now that we don't have any non error, non metric issues going through workflow engine + the issue stream detector is currently disabled.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 7, 2026
@cathteng cathteng marked this pull request as ready for review January 8, 2026 01:39
@cathteng cathteng requested review from a team as code owners January 8, 2026 01:39
Copy link
Member

@kcons kcons left a comment

Choose a reason for hiding this comment

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

All optional notes or random asides, but I'd like to be sure we're not logging an exception every time we choose issue stream as primary.

event_data: WorkflowEventData, detector: Detector | None = None
def get_detectors_for_event_data(
event_data: WorkflowEventData,
detector: Detector | None = None,
Copy link
Member

Choose a reason for hiding this comment

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

idle thought: this should probably be known_preferred for clarity. But feel free to ignore this thought.

mock_logger.info.assert_any_call(
"workflow_engine.process_workflows.evaluation.workflows.not_triggered",
extra={
"event_id": self.event.event_id,
Copy link
Member

Choose a reason for hiding this comment

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

I really wish there were a less awkward way to assert a small subset of possible keys so that any change to the logged extras doesn't break this test.
Well, abstractions for that do exist, they're just not idiomatic, so maybe I'll hack on that at some point.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm familiar with using ANY but that's it

@cathteng cathteng merged commit c3441db into master Jan 8, 2026
66 checks passed
@cathteng cathteng deleted the cathy/aci/preferred-detector branch January 8, 2026 23:03
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants