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

rustymotors / server
44%

Build:
DEFAULT BRANCH: dev
Repo Added 24 Jan 2026 01:59AM UTC
Files 277
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

LAST BUILD ON BRANCH dev
branch: dev
CHANGE BRANCH
x
Reset
  • dev
  • add-coveralls-integration
  • dependabot/npm_and_yarn/ajv-8.18.0
  • dependabot/npm_and_yarn/diff-4.0.4
  • dependabot/npm_and_yarn/fastify-5.7.3
  • dependabot/npm_and_yarn/fastify-5.8.1
  • dependabot/npm_and_yarn/flatted-3.4.2
  • dependabot/npm_and_yarn/minimatch-9.0.9
  • dependabot/npm_and_yarn/rollup-4.59.0
  • dependabot/npm_and_yarn/sequelize-6.37.8
  • dependabot/npm_and_yarn/socket.io-parser-4.2.6
  • dependabot/npm_and_yarn/undici-6.23.0
  • dependabot/npm_and_yarn/undici-6.24.0
  • dependabot/npm_and_yarn/undici-6.24.1
  • drazisil-patch-4
  • fix-me
  • gh-readonly-queue/dev/pr-2810-2047f9f3aa1b9ee61516dbde6f2c65cccd6355c1
  • gh-readonly-queue/dev/pr-2811-1ec2d472bfc5caccb47dd428e2925015aa38ac76
  • gh-readonly-queue/dev/pr-2812-d47f535e214976d512e214ecf9e0d5a86136284e
  • gh-readonly-queue/dev/pr-2813-07ee9d1d55bb2b99a00e813fb2601ccb31852094
  • gh-readonly-queue/dev/pr-2814-63635a4601288bd819c8df2f6d8f29d6587163a3
  • parts-catalog-and-mgmt
  • redesign
  • udp-game-room
  • udp-port-router-tests

08 May 2026 12:07PM UTC coverage: 44.3% (+0.09%) from 44.206%
25554677907

push

github

web-flow
Port parts catalog + part-mgmt MCOTS handlers from Recons (#2832)

## Summary

Brings two pieces of legacy MCO functionality into the main server, both
of which were previously implemented only in Recons
(\`tools/mco-revival.mjs\`) and were missing from \`dev\`:

1. **Parts catalog HTTP endpoint** at \`GET /mco/local/58\` — the legacy
client fetches parts metadata from this URL during gameplay. Without it,
parts pickers are empty.
2. **Four MCOTS opcodes** the client sends for part management —
previously hitting \`UNSUPPORTED_MESSAGECODE\`:
   - 177 \`MC_REPAIR_SINGLE_PART\`
   - 178 \`MC_REPAIR_MULTIPLE_PARTS\`
   - 182 \`MC_REMOVE_PART\`
   - 214 \`MC_DESTROY_PART\`

### Designed for swap-in DB later

The catalog ships behind a \`PartsCatalog\` interface with a
\`TsvPartsCatalog\` implementation reading
\`packages/database/seed/parts-catalog.tsv\` (3236 rows, copied from
Recons). The factory selects an implementation via
\`MCO_PARTS_CATALOG_SOURCE=tsv|db\` env var (default \`tsv\`); the
\`db\` branch is a stub-throw with a \`TODO(parts-catalog-db)\` marker —
when ready, drop in a \`DbPartsCatalog\` class that reads from
\`BrandedPart\` / \`AbstractPartType\` / \`PartGrade\` and add one
\`case "db":\` line. Handlers and the HTTP route never need to change.

### Stub-only handlers

All four MCOTS handlers parse the partId from the \`GenericRequest\`
payload, log a structured event, and ack with \`MC_SUCCESS\`
(DESTROY_PART returns no reply, matching the legacy "who cares" comment
and Recons's behavior). Every deferred concern is tagged with
\`TODO(parts-mgmt)\` or \`TODO(parts-mgmt-economy)\` markers —
including:

- ownership validation
- subtree handling for remove/destroy (yanking a chassis takes its
suspension and brakes with it)
- per-persona DB-backed bank balance (Recons uses a single global
in-memory \`localBankBalance\`, which doesn't translate to multi-user)
- partial-success replies for repair-multiple
- chassis-root guard

The economy work... (continued)

691 of 1771 branches covered (39.02%)

Branch coverage included in aggregate %.

48 of 101 new or added lines in 7 files covered. (47.52%)

3 existing lines in 2 files now uncovered.

4221 of 9317 relevant lines covered (45.3%)

130.25 hits per line

Relevant lines Covered
Build:
Build:
9317 RELEVANT LINES 4221 COVERED LINES
130.25 HITS PER LINE
Source Files on dev
  • Tree
  • List 280
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25554677907 dev Port parts catalog + part-mgmt MCOTS handlers from Recons (#2832) ## Summary Brings two pieces of legacy MCO functionality into the main server, both of which were previously implemented only in Recons (\`tools/mco-revival.mjs\`) and were missin... push 08 May 2026 12:09PM UTC web-flow github
44.3
25540049706 dev Race flow: MCOTS handlers, packet reassembly, Sentry observability (#2831) Bundle of 25 commits landing on udp-game-room. Highlights: - TCP reassembly fix in mcotsPortRouter — root cause of cipher desync (SERVER-M9). - Eight new MCOTS handler st... push 08 May 2026 06:12AM UTC web-flow github
44.21
22336468702 dev Fix remaining peer connection reset crash vectors (#2814) - Attach socket error handler before IP whitelist check in onSocketConnection so non-whitelisted connections that reset don't emit unhandled error events - Destroy rejected sockets instead... push 24 Feb 2026 04:21AM UTC web-flow github
37.97
21671905060 dev Bump fastify from 5.6.1 to 5.7.3 (#2812) Bumps [fastify](https://github.com/fastify/fastify) from 5.6.1 to 5.7.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/fastify/fastify/releases">fastify's relea... push 04 Feb 2026 12:44PM UTC web-flow github
35.9
21652650389 dev fix persona find on opencommchannel and setmyuserdata (#2813) <!-- CURSOR_SUMMARY --> > [!NOTE] > **Low Risk** > The provided diff contains no actual file changes, so there is no functional risk beyond potential CI/config issues from an empty/no-... push 04 Feb 2026 12:01AM UTC web-flow github
35.9
21309351501 dev Update README links for repository migration (#2811) <!-- CURSOR_SUMMARY --> > [!NOTE] > Updates documentation links after repo migration. > > - Update CI, CodeQL, Codecov, and Coveralls badges in `README.md` to `rustymotors/server` > - Change "... push 24 Jan 2026 04:42AM UTC web-flow github
35.9
21307583763 dev Add Coveralls code coverage tracking alongside Codecov (#2810) - Install coveralls npm package for coverage reporting - Add npm script to pipe lcov output to Coveralls - Configure GitHub Actions workflow to upload to Coveralls - Add Coveralls bad... push 24 Jan 2026 02:26AM UTC web-flow github
35.9
See All Builds (60)
  • Repo on GitHub
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