chore: drop analytics-controller from lint:tsc - #9697
Merged
Conversation
Once analytics-controller imports geolocation-controller and controller-utils, neither of which is a lint:tsc project yet, tsc pulls their source into the analytics-controller project and fails with rootDir errors (TS6059 / TS6307). That is currently red on the geo enrichment PR. Pull analytics-controller out of lint:tsc as a stopgap so the work is unblocked. We can enroll it again once controller-utils and geolocation-controller are lint:tsc projects.
cryptodev-2s
temporarily deployed
to
default-branch
July 29, 2026 15:38 — with
GitHub Actions
Inactive
cryptodev-2s
enabled auto-merge
July 29, 2026 15:42
gauthierpetetin
approved these changes
Jul 29, 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.
Explanation
analytics-controller is enrolled in
lint:tsc(it has atsconfig.lint.jsonand is listed in the roottsconfig.lint.json). Once it starts importing geolocation-controller and controller-utils (the geo enrichment work in #9691), and neither of those is alint:tscproject yet, tsc pulls their source straight into the analytics-controller project and fails with rootDir errors:This turns the
lint:tscjob red on #9691 and blocks the work.This PR removes
packages/analytics-controller/tsconfig.lint.jsonand its entry in the roottsconfig.lint.json, so analytics-controller is no longer type checked bylint:tsc.yarn lint:tscis green with this change.This is a stopgap to unblock the current work, not the end state. The proper fix is to make controller-utils and geolocation-controller
lint:tscprojects (give them their owntsconfig.lint.json) and enroll analytics-controller again. That is a bigger change because it also turns on type checking for those packages' test files, which surfaces separate pre existing type errors that need their own cleanup.References
Checklist