User Details
- User Since
- Nov 9 2018, 4:09 PM (297 w, 7 h)
- Availability
- Available
- LDAP User
- SD0001
- MediaWiki User
- SD0001 [ Global Accounts ]
Wed, Jul 17
Mon, Jul 8
Fri, Jun 28
I have been having this issue in sdzerobot tool. After many months of trouble with the node-redis client, I moved to ioredis thinking it's a client issue. But the issue persists. It appears the client sometimes spends 15+ minutes trying to reconnect after a connection loss.
Mon, Jun 24
Sat, Jun 22
Gadgets extension no longer adds any namespaces.
Gadgets extension no longer adds any namespaces.
Fri, Jun 21
Thu, Jun 20
This can be done now using the new categories option. The interface messages on top of change list pages (watchlist-summary, recentchanges-summary, recentchangeslinked-summary, histlegend) can be customised to include the category.
Jun 19 2024
Jun 16 2024
The EXPLAIN capability is back up now!
It's surprising that this issue still occurs with pre-ping enabled – Trove connections from the pool are now validated to ensure liveness before being used. Perhaps I don't understand SQLAlchemy well enough... Also, even with Trove errors occurring, the fix from T365136 should have caused them to show up as a failure in the UI. Both fixes not working makes me wonder if there's a problem with the deployment. The updated files are visible in the pod, though.
Jun 14 2024
https://github.com/toolforge/quarry/pull/22/ was merged last year.
The fix is live. Please reopen if the problem arises again.
The fix is live. Please reopen if this occurs again.
Or more likely because of a connection reset from Trove (T367464).
The actual problem should be sorted with the fix for T367464.
One such case: https://quarry.wmcloud.org/query/83084
Jun 13 2024
Have raised the basic WIP patch which embeds the rasterized PNG as a base64 blob in a data:image URL. I could use some help in figuring out how to store the png in the file repo and have the parser generate just a link to that.
This is because of redis pod getting restarted. It'll also happen during deployments. Ideally, we should configure RDB or AOF persistence for it.
Jun 12 2024
No, but the PR fixes the UI so that the actual error shows up.
To implement this, we can record the start time as another attribute in the extra_info JSON blob in query_run table when the query status is set to running, and use JS client-side to start a counter. On page reload, the counter can be initialised to the value based on the start time in db.
This could be because of a worker going down.
I'm not sure either about how to deploy in the new k8s-based setup. However, /home/rook/quarry seems to be the git checkout referenced above.
Jun 11 2024
Ah well, looks like the deployment of https://github.com/toolforge/quarry/pull/40 didn't fully go through. The keys TOOLS_DB_USER and TOOLS_DB_PASSWORD are missing in config.yaml on the pods, although I could have sworn this wasn't the case the last time around when I looked into it.
Many failures from today. (Could it be a coincidence that it's occurring only on the days someone is trying to test T348407?)
Jun 9 2024
I don't think this should be closed just yet. This is still the "more correct" approach. The categories stuff is just a hack to avoid introducing new wikitext.
Jun 6 2024
Jun 5 2024
Jun 2 2024
This is same as T53443: Replace "Chosen" jQuery plugin.
May 31 2024
This should already be possible. The gadget description messages which are used in preferences support full wikitext.
May 28 2024
GET endpoints are more user-friendly as you can hit them on a browser - which can be a way to show an inference result to a non-technical user to explain why a bot or tool behaves the way it does.
May 27 2024
I am open to adding logging, but I think we should only log the sender and receiver, and maybe the header. Logging the content kills the point - the bot might as well just send a talk page message. Instead, I suggest we provide a "Report spam" button – which creates a new log entry which does publicly record the full contents of the notification. This would allow reviewing reports of abuse.
May 26 2024
With no score caching and requiring the client to make significantly more requests to get the same data, I don't see how this migration has been useful for the end-user so far. The ores-legacy service appears to be slower than the earlier ores service despite giving only 20 scores per request. Ores would provide 50x3=150 scores with lesser latency.
May 25 2024
Cannot reproduce. https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Articles_for_creation/WikiProject_templates.json?action=raw&ctype=application/json gives an application/json response. May have been fixed in the intervening years.
May 21 2024
Yes, that issue is T365374. Should be unrelated.
May 20 2024
Per the worker logs, we are getting a lot of connection resets while accessing the trove db:
Turns out the issue is quite simpler - only running queries can be stopped. A query in queued state has no db process associated with it, so there's nothing to kill. I don't think the celery based architecture allows unqueuing a task. We should make the stop button appear only after the query starts running.
Still occurring intermittently. Error message suggests a failure in accessing the Trove db. @rook did we make any changes to the setup lately?
May 16 2024
May 15 2024
May 9 2024
I worked on this during the hackathon and came up with a hacky PoC. Will upload it on gerrit in a while.
May 5 2024
Apr 19 2024
Apr 18 2024
Apr 12 2024
The first 2 are the safest, but the last one opens up the most applications and is by far the most useful.
Apr 11 2024
I don't think that's the issue. We persist the db process id in the query_run table, so even a different pod is able to execute KILL <id> on the db to get the query to stop.
Apr 8 2024
@dcaro I have a stuck pod bot-monitor-28525880-5gm4t in my tool account sdzerobot. The job generally takes only a couple of minutes. But today, I saw the pod has been stuck for 11 days for no explicable reason (nothing relevant in the out or err logs). Grafana shows just 600 kb of memory usage so it doesn't seem to due to OOM.
Apr 6 2024
The proposed patch on Gerrit addresses precisely these problem - it introduces feature parity between gadgets and user scripts ("user gadgets"). All ResourceLoader features available to gadgets like loading dependencies, allowing multiple source pages, specifying peers for FOUC-free CSS loading, CommonJS module support, and conditional loading (based on namespaces, content models, skins, etc), would become available to 'user gadgets'.
Mar 30 2024
Thanks everyone for your support!
Mar 29 2024
Mar 27 2024
Mar 26 2024
The expected usage of this feature is with categories specifically created to be used in Gadgets-definition, so you can just not use a name that contains commas (until the Gadgets 2 migration happens).
Mar 25 2024
Mar 18 2024
Upstream, Ace just last month added support for syntax highlighting vue (https://github.com/ajaxorg/ace/pull/5483).
Mar 15 2024
Had a brief look and it looks good to me. Thanks!
Mar 14 2024
This tool was migrated alright.
Mar 12 2024
Mar 10 2024
Removing subtask as the inline SVG can be server-rendered. It doesn't need to render on the client and so doesn't need any more validation than we do today.
Removing subtask as the dynamically generated SVG can be server-rendered. It doesn't need to render on the client and so doesn't need any more validation than we do today.