Page MenuHomePhabricator
Paste P49439

(An Untitled Masterwork)
ActivePublic

Authored by klausman on Jun 15 2023, 9:55 AM.
Tags
None
Referenced Files
F37104640: raw-paste-data.txt
Jun 15 2023, 9:55 AM
Subscribers
None
root@deploy1002:/srv/deployment-charts/helmfile.d/services/changeprop# helmfile -e codfw diff --context=4
helmfile.yaml: basePath=.
Comparing release=production, chart=wmf-stable/changeprop
changeprop, changeprop-production, Deployment (apps) has changed:
...
app: changeprop
release: production
routed_via: production
annotations:
- checksum/config: be4f13345645d5c4a672d9d9496aa0f14e922a121fce42e4720b35d1a518b941
+ checksum/config: 75aa5770702444798645524ad4cc63cbd13f84ce2076f5fe3241a5291aa9b23d
checksum/nutcracker: bf5a2591e4052587d741d816afd7e8d418aec9de77278d156b74088806c95ae5
checksum/secrets: 47642f4ce991a41e3d1d3dff41e47ab5bae190bae8a8ca90198be9286ba6a869
checksum/prometheus-statsd: 32f6cd9f640903096cf7686f854c60f625d09010955d575604fc7d12cede4196
prometheus.io/port: "9102"
...
changeprop, changeprop-production-base-config, ConfigMap (v1) has changed:
...
host: '{{message.wiki_id}}-drafttopic.revscoring-drafttopic.wikimedia.org'
content-type: application/json
body:
event: '{{globals.message}}'
+
+ # Score every edit generated by wikis supported by Lift Wing's model server.
+ # Lift Wing will generate a new event and it will send it to EventGate.
+ liftwing_outlink-topic-model:
+ topic: mediawiki.page_change.v1
+ concurrency: 5
+ retry_on:
+ status:
+ - 503
+ match:
+ page:
+ is_redirect: false
+ namespace_id: 0
+ page_change_kind: "/^(edit|create)$/"
+ wiki_id: "enwiki"
+ match_not:
+ meta:
+ domain: "canary"
+ exec:
+ method: post
+ uri: 'https://inference.discovery.wmnet:30443/v1/models/outlink-topic-model:predict'
+ headers:
+ host: 'outlink-topic-model.articletopic-outlink.wikimedia.org'
+ content-type: application/json
+ body:
+ event: '{{globals.message}}'
# Number of worker processes to spawn.
# Set to 0 to run everything in a single process without clustering.
# Use 'ncpu' to run as many workers as there are CPU units
num_workers: 1
...
Listing releases matching ^staging$
helmfile.yaml: basePath=.
root@deploy1002:/srv/deployment-charts/helmfile.d/services/changeprop#

Event Timeline

klausman updated the paste's language from autodetect to diff.