User Details
- User Since
- Jan 5 2021, 4:31 PM (283 w, 3 d)
- Availability
- Available
- LDAP User
- Cory Massaro
- MediaWiki User
- CMassaro (WMF) [ Global Accounts ]
Today
This is immensely helpful; thank you!
Yesterday
Since this is now working in prod, I guess we can close it?
This isn't Rust's fault. It's this: https://phabricator.wikimedia.org/T428917
Partial fix will be here: https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-orchestrator/-/merge_requests/714.
Wed, Jun 10
Unassigning since this is no longer valid.
The necessary functions have now been confirmed to work with the v2 abstractions (in separate tasks).
I do want to re-raise the issue of a builtin n-ary Apply/Map/Reduce series, because that would clean up a lot of this (and make the Reduce-based apply2 unnecessary).
Yes, this is nasty. The issue is documented here: https://phabricator.wikimedia.org/T428475 .
Tue, Jun 9
When I run this with Ecuador, I get a Z579: 32. Looks like we're not configuring the default concurrent call rate limit, and I'm not quite sure why this function tries to make so many concurrent evaluator calls. This error, by the way, is not labelled correctly.
Mon, Jun 8
Benchmarks are looking a bit better after all of the asZObject changes.
Sat, Jun 6
Fri, Jun 5
Thu, Jun 4
Wed, Jun 3
So, to answer your question, it depends on what we decide tomorrow!
Good idea. We've already added wfConfig as the wrapper for both Invariants (including orchestrator config) and things like scope. A further reworking of this stuff absolutely makes sense.
I absolutely agree. I think we have some cases where v2 is excessively lax. The specific thing you mention in the description has to do with how we process arguments. In v1, we started out with global keys, then added local keys in by trying to cut the function identity off of the key. In v2, we do the opposite: we start with a local key, then try (in a very permissive way) to add in the function identity; if that doesn't work, we're pretty lax. We could certainly tighten that up, and I imagine that we'd find other cases if we added these tests back in.
This is never triggered in unit tests. It is possible that recent fixes have also mitigated this. For now, I am going to add a log message. If we see the log message in the wild, we can go on to investigate; if not, I think we can just delete this code path.
This falls into the same bucket as https://phabricator.wikimedia.org/T423694 : content issue in a nested function is not being propagated correctly.
So, the problem here doesn't have anything to do with argument references per se. Here's what is happening.
Tue, Jun 2
Mon, Jun 1
Apr 1 2026
Z0 is already used for other kinds of magic, unfortunately. It's reserved for the frontend as a placeholder for a still-unallocated ZID. I would be open to us allocating a different ZID as the "anonymous callback" ZID, though!
Mar 31 2026
Unassigning myself here :(
Re-assigning to @Jdforrester-WMF , who made the fix.
Now fixed in v2. Moving to ready to deploy.
This returns a Z516 error in both v1 and v2, as of HEAD. Moving to Ready to Deploy.
