You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
But so far it caught a few issues w/ a new experiment (#3913 (comment)), as well as potential issues w/ Side View's Facebook and Twitter icon metadata (#3918) and Firefox Color Facebook and Twitter icon metadata (#3917).
I thought we already had a schema linter, but maybe I'm thinking of the theme linter for Firefox Color.
Currently my 💩🔥 proof of concept linter accepts a glob of file(s) and returns errors, but not sure if it'd make sense to have it as a CLI tool as well, or a separate module altogether so you could use it as a bin script, and connect it to a precommit linting script so any new ./content-src/experiments/*.yaml file will be linted before committing. Or, just lint everything in CI.
And finally, here's the output from my script against the price-scout PR branch:
GitHub is telling me this may be possibly related to #1308. Fancy!
But I wrote a crude ./content-src/experiments/*.yaml linter at
https://gist.github.com/pdehaan/e61662b050564ee9ec0963f0d7547f04, although it could use a bit of refining.
But so far it caught a few issues w/ a new experiment (#3913 (comment)), as well as potential issues w/ Side View's Facebook and Twitter icon metadata (#3918) and Firefox Color Facebook and Twitter icon metadata (#3917).
I thought we already had a schema linter, but maybe I'm thinking of the theme linter for Firefox Color.
Currently my 💩🔥 proof of concept linter accepts a glob of file(s) and returns errors, but not sure if it'd make sense to have it as a CLI tool as well, or a separate module altogether so you could use it as a bin script, and connect it to a precommit linting script so any new ./content-src/experiments/*.yaml file will be linted before committing. Or, just lint everything in CI.
And finally, here's the output from my script against the price-scout PR branch:
It looks like a bunch of graduated experiments are 404ing on their old
xpi_url
URLs, so I probably need better logic/handling around that:https://github.com/mozilla/testpilot/blob/master/content-src/experiments/activity-stream.yaml#L20
The text was updated successfully, but these errors were encountered: