Skip to content

Bug: IssuesActor crashes with NoMethodError on pattern every tick #8

@kbb0118

Description

@kbb0118

Summary

IssuesActor calls pattern 'github.issues.*' as a class-level DSL call, but it inherits from Legion::Extensions::Actors::Subscription which has no pattern method. This causes a NoMethodError on every tick cycle, spamming logs with:

Failed to build absorbers: undefined method 'pattern' for class Legion::Extensions::Github::Absorbers::IssuesActor

Root Cause

The pattern DSL belongs to Legion::Extensions::Absorbers::Base and takes two arguments: pattern(type, value). IssuesActor is an Actors::Subscription subclass and does not need a routing pattern declaration — its queue binding is handled by the subscription infrastructure. The pattern call was leftover from an earlier design and should be removed.

Impact

  • NoMethodError logged on every tick
  • GitHub issue absorber never registers with PatternMatcher
  • Log noise makes real errors harder to spot

Fix

Remove the pattern 'github.issues.*' line from IssuesActor.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions