3.9 KiB
My Notes
- Work
- Private
Work
Reoccuring Tasks
TODO Catch-Up (Emails/Slack)
SCHEDULED: <2019-10-08 Tue .+1d>
TODO Code Reviews
SCHEDULED: <2019-10-08 Tue .+1d>
Sprint Work
Sprint Ceremonies
Other meetings
fb token service
TODO investigate access_token null
INVITE SECRET iPh5foo2ief4uv,i mit line break
Seems weird, getting quite some errors in the live logs. Not too many but still.
Added some more logging to the error in this PR.
TODO check fb token service logs
SCHEDULED: <2019-10-08 Tue>
Howtos
setup mitmproxy
-
write a script to modify the response
from mitmproxy import http def request(flow): if flow.request.pretty_url.find("/classifiers/trainings") >=0 and flow.request.method == 'PUT': flow.response = http.HTTPResponse.make( 500, "<html><body>failed with mitmproxy</body></html>", {"content-type":"text/html"}, ) mitmproxy --mode reverse:https://bwjsonapi.stage.brandwatch.net -p 9999 -s <scriptName>./runInDevelopment --apiUrl=http://localhost:9999
mitmproxy scripts
throttle all request in random order
from threading import Timer
from random import random
from mitmproxy import http
def request(flow):
resumeLater = Timer(random() * 2, flow.resume)
flow.intercept()
resumeLater.start();
jq usage
Get ids from a json response { results: [{id: 4}, ...] }
curl URL | jq '.results[] | .id'
Things to pass on
TODO kitchen duty calendar
SCHEDULED: <2019-10-03 Thu> DEADLINE: <2019-10-15 Tue>
TODO slack calendar integrations
DEADLINE: <2019-10-15 Tue> SCHEDULED: <2019-10-10 Thu>
TODO dependabot assignment
SCHEDULED: <2019-10-10 Thu>
Other
TODO separate randomly failing unit tests
There are some randomly failing unit tests in the frontend. We currently retry ALL backbone frontend unit tests when they fail.
This slows down CI and does not really help in identifying these.
As a intermedate solution we want to separate these randomly failing unit tests in an own directory to be able to separate them from unit tests that work fine.
This enables us to get rid of retrying all of them when some test fails.
Failing tests
- DashboardToolbarView
- DashboardView
- DataDownloadCollectionView
- DataDownloadFormView
- InsightsCentral_wrapDashboardView
- GuiderView
- InisightsCentral FilterContextMenuView
-
QueryBuilderWriteView
Expected: false Received: "The test \"QueryBuilderWriteView rendering auto fetch of preview results on language change does not trigger fetching when query is new or was not validated (validatedSettings are empty)\" added a new child element to body, please remove it: <div class=\"validation-tip notification-error rounded smallpadding-vertical singlepadding-horizontal\"></div>"Solved most of them by stubbing jquery.showValidation in various places.