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

hicommonwealth / commonwealth / 21949168118
38%

Build:
DEFAULT BRANCH: master
Ran 12 Feb 2026 01:55PM UTC
Jobs 1
Files 469
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

12 Feb 2026 01:46PM UTC coverage: 37.298% (+0.2%) from 37.139%
21949168118

push

github

web-flow
Implement prediction market deploy flow, policy, and read model (slice 2) (#13372)

* feat: implement prediction market deploy flow, policy, and read model

Implement slice 2 of the prediction market plan:
- CreatePredictionMarket command: creates draft market with thread author auth,
  validates no existing market on thread, loads eth_chain_id from ChainNode
- DeployPredictionMarket command: transitions draft to active, sets contract
  addresses and times, emits PredictionMarketDeployed event
- ProjectPredictionMarketProposal/Market commands: reconcile on-chain IDs
- PredictionMarketPolicy: consumes ProposalCreated/MarketCreated events and
  dispatches projection commands via systemActor
- PredictionMarket.projection: read model event handler (mirrors write model)
- Lifecycle test: covers create -> deploy -> policy reconciliation end-to-end
- Schema test fixes: added thread_id to command fixtures

Completed GitHub issue #13370

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

* fix: wire prediction market commands to internal router behind FLAG_FUTARCHY

- Remove unused PredictionMarket.projection (policy handles projecting chain events)
- Add GetPredictionMarkets query with paginated raw SQL
- Create predictionMarket tRPC router with create/deploy/get endpoints
- Register router in internal-router behind config.MARKETS.FUTARCHY_ENABLED
- Register PredictionMarketPolicy in rascalConsumerMap for event consumption
- Add PredictionMarket tag to tRPC Tag enum

Completed GitHub issue #13370

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

---------

Co-authored-by: rotorsoft <rotorsoft@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>

2023 of 5904 branches covered (34.26%)

Branch coverage included in aggregate %.

41 of 50 new or added lines in 7 files covered. (82.0%)

3619 of 9223 relevant lines covered (39.24%)

47.5 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
80.95
libs/model/src/aggregates/prediction_market/CreatePredictionMarket.command.ts
2
76.47
libs/model/src/aggregates/prediction_market/DeployPredictionMarket.command.ts
5
0.0
libs/model/src/aggregates/prediction_market/GetPredictionMarkets.query.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
1 unit-test-coverage 21949168118.1 12 Feb 2026 01:55PM UTC 469
37.3
GitHub Action Run
Source Files on build 21949168118
  • Tree
  • List 469
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21949168118
  • c88065ee on github
  • Prev Build on master (#21872269178)
  • Next Build on master (#21961091141)
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