Skip to content

Keep the pathways editor working with Rapid 3.0.0-pre.4 (to staging) - #203

Merged
jeffmaki merged 1 commit into
stagingfrom
fix/rapid-3-pre4-staging
Dec 1, 2026
Merged

jeffmaki merged 1 commit into
stagingfrom
fix/rapid-3-pre4-staging

Conversation

@jeffmaki

@jeffmaki jeffmaki commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Cherry-pick of #198, which merged to develop, so stage gets the fix without waiting for the next dev-to-stage merge.

Why

Stage runs Rapid 3.0.0-pre.4, and its pathways editor shows "The editor couldn't start" when a pathways workspace is opened in Rapid 3. #198 fixes the two pre.4 changes that broke it, and keeps pre.3, which prod still runs, working. See #198 for the cause and the full description.

What's here

One commit, git cherry-pick -x 5ccb5eab0. It applied cleanly: services/rapid3-levels.ts and its test file were identical on staging and on develop before the fix. The last dev-to-stage merge (#200, 11/30) predates #198.

Tested on this branch

  • test/unit/services/rapid3-levels.test.ts: 76 passed. With rapid3-levels.ts reverted to staging's version, the 3 new pre.4 tests fail and the other 73 pass.
  • Full unit suite: 71 files, 805 tests passed.

Unrelated note: npm ci fails on staging because its package-lock.json is out of sync with package.json ("Missing: crossws@0.4.17 from lock file"). I installed with npm install to run the tests and didn't commit the lockfile it rewrote.

🤖 Generated with Claude Code

Rapid 3.0.0-pre.4 stopped the pathways editor from starting:

- Its graphs no longer have `local`; their own edits come from
  `localEntities()`. `graphEntities` read `graph.local.entities`, so the
  level tools threw on start and every GTFS validator failed.
- It selects any data with one `select` mode taking data IDs, so
  `select-osm` is gone and selecting a station, stop or level outline
  did nothing.

Both now use the pre.4 way when it's there and the old one otherwise, since
prod still runs pre.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 5ccb5ea)
@coderabbitai

coderabbitai Bot commented Dec 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 15fb94d1-5594-4d05-9afe-857b9c6adc7f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@jeffmaki
jeffmaki merged commit 07f42a4 into staging Dec 1, 2026
1 check passed
@jeffmaki
jeffmaki deleted the fix/rapid-3-pre4-staging branch December 1, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant