YJDH-723 | Kesäseteli: Split .env.kesaseteli to .env.kesaseteli-(backend|handler|youth|employer) files#3883
Merged
karisal-anders merged 3 commits intomainfrom Feb 13, 2026
Merged
Conversation
move .env.kesaseteli.example verbatim to: - .env.kesaseteli-backend.example - .env.kesaseteli-employer.example - .env.kesaseteli-handler.example - .env.kesaseteli-youth.example refs YJDH-723 (needs site ID per app for Matomo)
Pruning (i.e. removing the unnecessary): - Went through all the .env.kesaseteli-*.example files that were copied in previous commit from .env.kesaseteli.example. - Removed from each .env.kesaseteli-*.example file what was not needed by the application in question - Removed unnecessary use of HANDLER_URL from youth frontend Augmenting (i.e. adding what can be used): - Added to .env.kesaseteli-backend.example file the backend's sentry variables that were not listed, but were being used in kesaseteli's settings.py refs YJDH-723
Change uses of `.env.kesaseteli` to `.env.kesaseteli-backend`,
`.env.kesaseteli-handler`, `.env.kesaseteli-employer`,
`.env.kesaseteli-youth` where applicable.
NOTE: Only a single code uses `.env.kesaseteli` anymore, and that's in
/frontend/next.config.js the loading of `.env.kesaseteli`:
```
const { parsed: env } = require('dotenv').config({
path: '.env.kesaseteli',
});
```
which is actually weird, as that's the next.config.js file for the
monorepo's shared frontend, not Kesäseteli specific at all! This can be
removed in another PR handling the shared parts of the monorepo.
refs YJDH-723
a1a1e86 to
590c5f2
Compare
|
YJDH-KESASETELI-API branch is deployed to platta: https://yjdh-kesaseteli-pr3883.api.dev.hel.ninja 🚀🚀🚀 |
|
|
EMPLOYER branch is deployed to platta: https://kesaseteli-pr3883.dev.hel.ninja 🚀🚀🚀 |
|
HANDLER branch is deployed to platta: https://kesaseteli-handler-ui-pr3883.dev.hel.ninja 🚀🚀🚀 |
|
YOUTH branch is deployed to platta: https://nuortenkesaseteli-pr3883.dev.hel.ninja 🚀🚀🚀 |
TestCafe result is success for https://kesaseteli-pr3883.dev.hel.ninja 😆🎉🎉🎉 |
TestCafe result is success for https://kesaseteli-handler-ui-pr3883.dev.hel.ninja 😆🎉🎉🎉 |
TestCafe result is success for https://nuortenkesaseteli-pr3883.dev.hel.ninja 😆🎉🎉🎉 |
karisal-anders
added a commit
that referenced
this pull request
Feb 13, 2026
As mentioned in 246be9b in PR #3883 > NOTE: Only a single code uses `.env.kesaseteli` anymore, and that's in > /frontend/next.config.js the loading of `.env.kesaseteli`: > ``` > const { parsed: env } = require('dotenv').config({ > path: '.env.kesaseteli', > }); > ``` > which is actually weird, as that's the next.config.js file for the > monorepo's shared frontend, not Kesäseteli specific at all! This can > be removed in another PR handling the shared parts of the monorepo. Remove the above leftover loading of `.env.kesaseteli` file from shared frontend code. refs YJDH-723
karisal-anders
added a commit
that referenced
this pull request
Feb 16, 2026
As mentioned in 246be9b in PR #3883 > NOTE: Only a single code uses `.env.kesaseteli` anymore, and that's in > /frontend/next.config.js the loading of `.env.kesaseteli`: > ``` > const { parsed: env } = require('dotenv').config({ > path: '.env.kesaseteli', > }); > ``` > which is actually weird, as that's the next.config.js file for the > monorepo's shared frontend, not Kesäseteli specific at all! This can > be removed in another PR handling the shared parts of the monorepo. Remove the above leftover loading of `.env.kesaseteli` file from shared frontend code. refs YJDH-723
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.



Description ✨
Kesäseteli: Split
.env.kesasetelito.env.kesaseteli-(backend|handler|youth|employer)filesWhy?
the same environment variable i.e.
NEXT_PUBLIC_MATOMO_SITE_IDin thefuture in relation to YJDH-723
("Include Matomo analytics (Digia Iiris) to frontends").
Pruning (i.e. removing the unnecessary):
in previous commit from .env.kesaseteli.example.
by the application in question
Augmenting (i.e. adding what can be used):
variables that were not listed, but were being used in kesaseteli's
settings.py
Change uses of
.env.kesasetelito.env.kesaseteli-backend,.env.kesaseteli-handler,.env.kesaseteli-employer,.env.kesaseteli-youthwhere applicable.NOTE: Only a single code uses
.env.kesasetelianymore, and that's in/frontend/next.config.js the loading of
.env.kesaseteli:which is actually weird, as that's the next.config.js file for the
monorepo's shared frontend, not Kesäseteli specific at all! This can be
removed in another PR handling the shared parts of the monorepo.
Issues 🐛
YJDH-723
Testing ⚗️
Screenshots 📸
Additional notes 🗒️