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

hicommonwealth / commonwealth / 21992591836
38%

Build:
DEFAULT BRANCH: master
Ran 13 Feb 2026 03:42PM UTC
Jobs 1
Files 470
Run time 1min
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 Feb 2026 03:32PM UTC coverage: 37.291% (-0.007%) from 37.298%
21992591836

push

github

web-flow
Enforce policy vs projection architecture rule and fix misclassified files (#13381)

* refactor: enforce policy vs projection architecture rule and fix misclassified files

Reclassify 5 misclassified policies as projections:
- CreateUnverifiedUser → aggregates/user/
- Governance → aggregates/chain-events/
- Nominations → aggregates/community/
- ReactionWorker → aggregates/reaction/
- UpgradeTier → aggregates/user/ (rename only)

Split hybrid files:
- ChainEventCreated.policy: extract DB-mutating handlers into ChainEventCreated.projection
- FarcasterWorker.policy: extract FarcasterReplyCastDeleted into FarcasterContest.projection

Eliminate Project... command indirection:
- PredictionMarket.policy → PredictionMarket.projection (inline logic)
- ProjectLaunchpadTrade.command → LaunchpadTrade.projection
- Remove ProjectPredictionMarketProposal/Market commands and schemas

Update consumer registrations, barrel exports, test imports, and docs.

Completed GitHub issue #13379

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: relocate projection handlers from policies/ to aggregates/

Move handleCommunityStakeTrades and handleReferralFeeDistributed from
policies/handlers/ to aggregates/community/handlers/ where their
projection consumers live. Move chainNodeMustExist utility from
policies/utils/utils to the shared utils/utils module.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor: rename projection helpers to projections/project* convention

Rename handlers/handle* to projections/project* for projection helper
files, aligning the naming convention with the projection architecture.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: break circular dependency in model utils by extracting chainNodeMustExist

Moving chainNodeMustExist to utils/utils.ts created a circular import:
database.ts → models/ → models/thread.ts → utils/utils.ts → database.ts

Extracted chainNodeMustExist into its own utils/chainNodeUtils.ts mod... (continued)

2025 of 5910 branches covered (34.26%)

Branch coverage included in aggregate %.

18 of 51 new or added lines in 6 files covered. (35.29%)

1 existing line in 1 file now uncovered.

3619 of 9225 relevant lines covered (39.23%)

47.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
50.0
libs/model/src/aggregates/community/ChainEventCreated.projection.ts
1
66.67
libs/model/src/utils/chainNodeUtils.ts
8
23.08
libs/model/src/aggregates/contest/FarcasterContest.projection.ts
9
9.09
-2.67% libs/model/src/policies/Launchpad.policy.ts
14
3.7
libs/model/src/aggregates/token/LaunchpadTrade.projection.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
7.14
1.26% libs/model/src/policies/FarcasterWorker.policy.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
1 unit-test-coverage 21992591836.1 13 Feb 2026 03:41PM UTC 470
37.29
GitHub Action Run
Source Files on build 21992591836
  • Tree
  • List 470
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21992591836
  • e35a176c on github
  • Prev Build on master (#21961091141)
  • Next Build on master (#21993955175)
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