Closed Bug 885820 Opened 12 years ago Closed 11 years ago

Port Flue from Flask to Express (python to node)

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: basta, Assigned: mstriemer)

Details

(Whiteboard: [good first bug][lang=js][repoman])

This will mean that we can run a local instance of Flue on Travis CI instead of using FaaS on stackato for tests. Let me list all the ways that this is good: 1. Updating Flue's source doesn't mean the tests are going to break until Basta updates stackato 2. `npm install -d` will grab the pieces that are needed for Flue 3. Less Python code to support JavaScript code
You could totally do this without Express even - but I know how much you <3 dependencies ;)
I thought about using raw HTTP, but the URL routing is something I don't care to write from scratch :P
Whiteboard: [good first bug][lang=js]
Assignee: mattbasta → nobody
Assignee: nobody → ngoke
P3? This seems arguably less important than a P3.
It's P3 because our tests sporadically fail because of it.
Putting myself off of this for now, managed a WIP start. https://github.com/ngokevin/flue/tree/powerflue
Assignee: kngo → nobody
If you want to do this please reopen.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Re-opening. I don't know if that's the solution we need (maybe a simpler mock would work), but my experience matches comment 4, a large share of the intermittent failures we are seeing with the fireplace tests come from problems reaching flue. This is annoying and time-consuming.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Whiteboard: [good first bug][lang=js] → [good first bug][lang=js][repoman]
Another (simpler?) option would be to manage to build and run flue locally on Travis. We do that for elasticsearch in zamboni.
https://github.com/mozilla/fireplace/commit/cbe2f8bbb537e0b8818a820a59242c846f2c4b72 This is now running locally on Travis. We still see some intermittent failures so there's still work to do there.
Assignee: nobody → mstriemer
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.