• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsm / neokai / 25779597104 / 2
81%
dev: 81%

Build:
DEFAULT BRANCH: dev
Ran 13 May 2026 05:11AM UTC
Files 279
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2026 05:08AM UTC coverage: 22.995%. Remained the same
25779597104.2

push

github

web-flow
Add workflow topic subscription trie (#1879)

* feat: add workflow topic subscription trie

Index external-event subscription patterns with exact and segment-local wildcard matching so workflow runtime lookups can avoid linear scans.

* refactor: make topic validator source-agnostic

Remove hardcoded 4-segment format from validateGlobPattern and
validateLiteralTopic. Different event sources use different topic
shapes (GitHub: 5 segments, Slack: 3 segments, Jira: 3 segments).

The general-purpose validator now enforces only universal structural
constraints (non-empty, at least 2 segments, no empty segments,
no .., no **, valid characters). Source-specific depth and format
checks are delegated to each extension.

Updates:
- topic-validator.ts: remove segment count and resource.action checks
- topic-validator.test.ts: update for relaxed validation
- topic-trie.test.ts: use realistic 5-segment GitHub topics
- external-event-store.test.ts: update validation expectations
- design doc: reflect source-specific topic format

* fix: add GitHub literal validation and update test fixtures

Add source-specific validation to validateLiteralTopic for registered
sources while keeping validateGlobPattern source-agnostic for
subscription patterns.

For GitHub literal topics (published events), enforce:
- Exactly 5 segments (source/owner/repo/resource/entityId.action)
- Final segment must contain exactly one dot (entityId.action)
- Neither side of the dot can be empty

This prevents malformed GitHub literals from being stored and never
matched by intended subscriptions. validateGlobPattern remains
source-agnostic to support flexible subscription patterns.

Changes:
- topic-validator.ts: add validateGitHubLiteralTopic helper
- topic-validator.test.ts: add tests for GitHub literal validation
- external-event-store.test.ts: update fixtures to 5-segment format
- design doc: update validation section to say "at least 2 segments"

* fix: add source-specific validation for Git... (continued)

17136 of 74519 relevant lines covered (23.0%)

12.12 hits per line

Source Files on job daemon-online-features-1 - 25779597104.2
  • Tree
  • List 279
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25779597104
  • 992ca90e on github
  • Prev Job for on dev (#25775211652.8)
  • Next Job for on dev (#25781329653.18)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc