-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse signs config and store info in state to be used in group filter #350
Conversation
Coverage of commit
|
This might be better-suited to a quick discussion / call, but could we deploy to a dev environment and validate this behavior manually? There's a lot going on here logic-wise, and I think if we both smoke tested it in dev that would be confidence-inducing. The code itself looks sound syntactically 🙂 |
At the moment at least, this isn't actually hooked up to run in dev/prod. https://github.com/mbta/concentrate/blob/master/config/config.exs#L78 The next PR will include both uncommenting/enabling all this code as well as using 'live' data from the signs config to better test against. It'd be possible to add some temp commits here to fake using live data, but it would be based on assumed data format vs the actual feeds. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK - that makes sense - I figure we can review this more conclusively once it's enabled in dev @bfauble. The code otherwise looks syntactically good so I think this is good to merge.
direction_id: direction_id, | ||
stop_id: stop_id | ||
} -> | ||
Logger.info(fn -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: does this need to be an anonymous function? I think you can just pass an interpolated string directly into Logger.info
.
Coverage of commit
|
Summary of changes
Asana Ticket: Parse config and store info in state