feat: upgrade to the new ts-server-boilerplate(MAPCO-10112)#45
Merged
Conversation
4262005 to
df75932
Compare
CL-SHLOMIKONCHA
requested changes
Jun 10, 2026
CL-SHLOMIKONCHA
left a comment
Contributor
There was a problem hiding this comment.
Good job!
few comment
and we should talk about the IConfig uses, in general we should remove it and use the ConfigType as type
CL-SHLOMIKONCHA
approved these changes
Jun 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Upgrades
cache-seederfrom the old MapColonies boilerplate to the new ts-server-boilerplate generation, using the already-migratedjob-trackeras the reference. Preserves the two service-specific traits the boilerplate doesn't have: the worker pollingmainLoopand the MapProxy Python integration (Docker venv +cmd.ts). The service stays on Jest and intentionally skips OpenAPI (it's a routeless worker).What changed
@map-colonies/config+commonBoilerplateV3schema (src/common/config.ts); restructuredconfig/*.json(telemetry reshaped,httpRetrymoved top-level due to schemaunevaluatedProperties,openapiConfigadded).getApp/registerExternalValues, ESMinstrumentation.mts, js-logger v5, prom-client metrics (replaces OTel meter),@map-colonies/tracing. Fixed a latent terminusonSignalmisplacement.@map-colonies/tsconfig+ path aliases, ESLint 9 flat config, prettier 3,tsc-aliasbuild, husky v9, Node-24 Dockerfile with--import instrumentation.mjs+ offline config.http-status-codes,supertest,@types/supertest,@types/multer,jest-create-mock-instance, standalonecommitlint); moved@faker-js/fakerto devDependencies.configManagement(CONFIG_*) env for the new config library (offline mode); removed dead OTel-push metrics env.registerDependenciessetup.