mirror of
https://github.com/tomru/org.git
synced 2026-03-03 06:27:22 +01:00
126 lines
5.1 KiB
Org Mode
126 lines
5.1 KiB
Org Mode
#+TITLE: My Notes
|
|
#+STARTUP: indent
|
|
|
|
* Work
|
|
** Reoccurring Tasks
|
|
*** TODO Schedule Day
|
|
SCHEDULED: <2019-10-08 Tue 08:30-08:45>
|
|
*** TODO Catch-Up (Emails/Slack)
|
|
SCHEDULED: <2019-10-09 Wed 09:00-09:15 .+1d>
|
|
:PROPERTIES:
|
|
:LAST_REPEAT: [2019-10-08 Tue 09:24]
|
|
:END:
|
|
- State "DONE" from "WAIT" [2019-10-08 Tue 09:24]
|
|
*** TODO Code Reviews
|
|
SCHEDULED: <2019-10-08 Tue 09:15 .+1d>
|
|
:PROPERTIES:
|
|
:LAST_REPEAT: [2019-10-08 Tue 09:24]
|
|
:END:
|
|
- State "DONE" from "WAIT" [2019-10-08 Tue 09:24]
|
|
:LOGBOOK:
|
|
CLOCK: [2019-10-08 Tue 08:24]--[2019-10-08 Tue 09:24] => 1:00
|
|
:END:
|
|
** Sprint Work
|
|
*** Sprint Ceremonies
|
|
** Other meetings
|
|
** fb token service
|
|
*** DONE investigate access_token null
|
|
CLOSED: [2019-10-14 Mon 10:31]
|
|
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 [[https://github.com/BrandwatchLtd/facebook-token-service/pull/244][PR]].
|
|
|
|
**** DONE check fb token service logs
|
|
CLOSED: [2019-10-14 Mon 10:31] SCHEDULED: <2019-10-08 Tue>
|
|
*** TODO iventigate page token count
|
|
page tokens stored
|
|
187 on [[https://prometheus.analytics-prod.gcp0.bwcom.net/graph?g0.range_input=1h&g0.end_input=2019-10-10%2000%3A37&g0.moment_input=2019-10-10%2000%3A35%3A18&g0.expr=page_tokens_stored%7Bservice%3D%22facebook-tokens%22%7D&g0.tab=1][here]]
|
|
another 187 on [[https://prometheus.analytics-prod.gcp0.bwcom.net/graph?g0.range_input=1h&g0.end_input=2019-10-10%2000%3A37&g0.moment_input=2019-10-10%2000%3A35%3A38&g0.expr=page_tokens_stored%7Bservice%3D%22facebook-tokens%22%7D&g0.tab=1][here]]
|
|
|
|
funnily on different nodes
|
|
|
|
*** DONE Update graph API version
|
|
CLOSED: [2019-10-09 Wed 10:51]
|
|
** Howtos
|
|
*** setup mitmproxy
|
|
1. write a script to modify the response
|
|
#+BEGIN_SRC python
|
|
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"},
|
|
)
|
|
#+END_SRC
|
|
2. ~mitmproxy --mode reverse:https://bwjsonapi.stage.brandwatch.net -p 9999 -s <scriptName>~
|
|
3. ~./runInDevelopment --apiUrl=http://localhost:9999~
|
|
*** mitmproxy scripts
|
|
**** throttle all request in random order
|
|
#+BEGIN_SRC python
|
|
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();
|
|
#+END_SRC
|
|
*** 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-10 Thu> DEADLINE: <2019-10-15 Tue>
|
|
*** TODO remove Kamil from kitchen duty calendar
|
|
SCHEDULED: <2019-10-10 Thu>
|
|
*** 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
|
|
|
|
- [X] [[https://jenkins.brandwatch.net/blue/organizations/jenkins/BrandwatchLtd%2Ffrontend/detail/master/2413/pipeline][DashboardToolbarView]]
|
|
- [X] [[https://jenkins.brandwatch.net/blue/organizations/jenkins/BrandwatchLtd%2Ffrontend/detail/master/2369/pipeline][DashboardView]]
|
|
- [X] [[https://jenkins.brandwatch.net/blue/organizations/jenkins/BrandwatchLtd%2Ffrontend/detail/PR-10357/1/pipeline/105][DataDownloadCollectionView]]
|
|
- [X] [[https://jenkins.brandwatch.net/blue/organizations/jenkins/BrandwatchLtd%2Ffrontend/detail/PR-10357/2/pipeline/113][DataDownloadFormView]]
|
|
- [X] [[https://jenkins.brandwatch.net/blue/organizations/jenkins/BrandwatchLtd%2Ffrontend/detail/PR-10357/1/pipeline][InsightsCentral_wrapDashboardView]]
|
|
- [X] [[https://jenkins.brandwatch.net/blue/organizations/jenkins/BrandwatchLtd%2Ffrontend/detail/PR-10357/3/pipeline/100#step-126-log-20][GuiderView]]
|
|
- [X] [[https://jenkins.brandwatch.net/blue/organizations/jenkins/BrandwatchLtd%2Ffrontend/detail/PR-10357/6/pipeline/96][InisightsCentral FilterContextMenuView]]
|
|
- [X] 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.
|
|
-
|
|
** Axiom WG
|
|
|
|
* arbeitszeugnis
|
|
* sonstige services
|
|
|
|
* Private
|
|
** [[org:ausbau/][Ausbau]]
|