Page MenuHomePhabricator

Misleading default value for push notifications `spec` config entry
Closed, ResolvedPublic

Description

In push notifications service the default value for spec is documented as ./spec.yaml. Because of typescript compilation the default value points to dist/loaders/spec.yml since we are locating the file using __dirname. This causes the default config not being able to render the spec document since it defaults to a non-existing file.

Event Timeline

Change 626360 had a related patch set uploaded (by Jgiannelos; owner: Jgiannelos):
[mediawiki/services/push-notifications@master] Fix default value handling for app.conf.spec

https://gerrit.wikimedia.org/r/626360

Change 626360 merged by jenkins-bot:
[mediawiki/services/push-notifications@master] Fix default value handling for app.conf.spec

https://gerrit.wikimedia.org/r/626360