Page MenuHomePhabricator

cmassaro (Cory Massaro)
User

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Jan 5 2021, 4:31 PM (185 w, 3 d)
Availability
Available
LDAP User
Cory Massaro
MediaWiki User
CMassaro (WMF) [ Global Accounts ]

Recent Activity

Thu, Jul 25

cmassaro updated subscribers of T368320: Renderers cannot render non-concrete values, e.g. values created through compositions or other function calls.

Thanks @gengh for pointing me to the call being sent to the orchestrator.

Thu, Jul 25, 3:44 PM · Abstract Wikipedia team (25Q1 (Jul–Sep)), WikiLambda Front-end
cmassaro claimed T368320: Renderers cannot render non-concrete values, e.g. values created through compositions or other function calls.
Thu, Jul 25, 3:43 PM · Abstract Wikipedia team (25Q1 (Jul–Sep)), WikiLambda Front-end
cmassaro moved T358543: List equality throwing a Z564/Invalid executor response for test using Z872/Filter from Ready, Bugs to Needs Sign-off on the Abstract Wikipedia team (25Q1 (Jul–Sep)) board.
Thu, Jul 25, 3:08 PM · Abstract Wikipedia team (25Q1 (Jul–Sep)), function-orchestrator, function-evaluator, Wikifunctions
cmassaro added a comment to T358543: List equality throwing a Z564/Invalid executor response for test using Z872/Filter.

This is now passing on both of the linked tests. The error in the task description points to an executor error, and the empty string after it means that the executor just didn't return anything. Could have been something ephemeral like resource exhaustion or a timeout. Marking as "needs sign-off" for now.

Thu, Jul 25, 3:08 PM · Abstract Wikipedia team (25Q1 (Jul–Sep)), function-orchestrator, function-evaluator, Wikifunctions
cmassaro claimed T358543: List equality throwing a Z564/Invalid executor response for test using Z872/Filter.
Thu, Jul 25, 3:04 PM · Abstract Wikipedia team (25Q1 (Jul–Sep)), function-orchestrator, function-evaluator, Wikifunctions

Wed, Jul 24

cmassaro added a project to T370773: Allow Timestamp to Be Overridden in LoggerWrapper: Abstract Wikipedia Fix-It tasks.
Wed, Jul 24, 4:44 PM · Abstract Wikipedia Fix-It tasks, function-schemata, function-evaluator, Abstract Wikipedia team
cmassaro created T370894: Discuss with Releng: Don't Copy Build Artifacts between Blubber Steps.
Wed, Jul 24, 3:27 PM · Abstract Wikipedia Fix-It tasks, function-evaluator, function-orchestrator, Abstract Wikipedia team

Tue, Jul 23

cmassaro created T370773: Allow Timestamp to Be Overridden in LoggerWrapper.
Tue, Jul 23, 1:54 PM · Abstract Wikipedia Fix-It tasks, function-schemata, function-evaluator, Abstract Wikipedia team

Thu, Jul 18

cmassaro moved T369956: Add logging data when db fetch in orchestrator from Ready, Features to In Progress on the Abstract Wikipedia team (25Q1 (Jul–Sep)) board.
Thu, Jul 18, 7:47 PM · Abstract Wikipedia team (25Q1 (Jul–Sep))
cmassaro created T370472: Testing: MediaWikiStub.getZId Should Not Throw Error.
Thu, Jul 18, 7:43 PM · Abstract Wikipedia Fix-It tasks, function-orchestrator, Abstract Wikipedia team
cmassaro moved T369653: Strings Get Too Long When Creating ZObjectKeys from In Progress to Ready to deploy on the Abstract Wikipedia team (25Q1 (Jul–Sep)) board.
Thu, Jul 18, 5:49 PM · Patch-For-Review, Abstract Wikipedia team (25Q1 (Jul–Sep)), function-schemata, function-orchestrator
cmassaro claimed T369956: Add logging data when db fetch in orchestrator.
Thu, Jul 18, 4:24 PM · Abstract Wikipedia team (25Q1 (Jul–Sep))
cmassaro moved T369653: Strings Get Too Long When Creating ZObjectKeys from Ready, Bugs to In Progress on the Abstract Wikipedia team (25Q1 (Jul–Sep)) board.
Thu, Jul 18, 1:37 PM · Patch-For-Review, Abstract Wikipedia team (25Q1 (Jul–Sep)), function-schemata, function-orchestrator
cmassaro moved T369762: Implementations seem to be chosen at random from Ready, Bugs to Ready to deploy on the Abstract Wikipedia team (25Q1 (Jul–Sep)) board.
Thu, Jul 18, 1:37 PM · Abstract Wikipedia team (25Q1 (Jul–Sep)), function-orchestrator

Wed, Jul 17

cmassaro claimed T369762: Implementations seem to be chosen at random.
Wed, Jul 17, 9:53 PM · Abstract Wikipedia team (25Q1 (Jul–Sep)), function-orchestrator
cmassaro added a comment to T369762: Implementations seem to be chosen at random.

I am gonna write some tests to "confirm" and then an MR to maybe fix. I can't truly replicate the problem locally, so we won't be 100% sure until the "fix" lands, but the fix shouldn't do harm either way.

Wed, Jul 17, 7:32 PM · Abstract Wikipedia team (25Q1 (Jul–Sep)), function-orchestrator
cmassaro added a comment to T369762: Implementations seem to be chosen at random.

I have an idea. I think what's happening here is that, when we populate the implementation list, we enter a race condition (due to an unfortunately-structured Promise.all).

Wed, Jul 17, 5:38 PM · Abstract Wikipedia team (25Q1 (Jul–Sep)), function-orchestrator
cmassaro added a comment to T369762: Implementations seem to be chosen at random.

Test call for ApiSandbox:

Wed, Jul 17, 5:26 PM · Abstract Wikipedia team (25Q1 (Jul–Sep)), function-orchestrator

Tue, Jul 9

cmassaro claimed T369653: Strings Get Too Long When Creating ZObjectKeys.
Tue, Jul 9, 6:11 PM · Patch-For-Review, Abstract Wikipedia team (25Q1 (Jul–Sep)), function-schemata, function-orchestrator
cmassaro added a subtask for T368892: Function evaluations are often failing on Wikifunctions.org with "gateway timeout" or “service unavailable”: T369653: Strings Get Too Long When Creating ZObjectKeys.
Tue, Jul 9, 6:10 PM · Abstract Wikipedia team (25Q1 (Jul–Sep))
cmassaro added a parent task for T369653: Strings Get Too Long When Creating ZObjectKeys: T368892: Function evaluations are often failing on Wikifunctions.org with "gateway timeout" or “service unavailable”.
Tue, Jul 9, 6:10 PM · Patch-For-Review, Abstract Wikipedia team (25Q1 (Jul–Sep)), function-schemata, function-orchestrator
cmassaro created T369653: Strings Get Too Long When Creating ZObjectKeys.
Tue, Jul 9, 6:10 PM · Patch-For-Review, Abstract Wikipedia team (25Q1 (Jul–Sep)), function-schemata, function-orchestrator
cmassaro added a comment to T368892: Function evaluations are often failing on Wikifunctions.org with "gateway timeout" or “service unavailable”.

Could you please elaborate what the fix is and why it fixes things?
Ah, missed the comment above about addNestedMetadata. But I still don't understand why this helps.

Tue, Jul 9, 2:26 PM · Abstract Wikipedia team (25Q1 (Jul–Sep))

Mon, Jul 8

cmassaro added a comment to T368892: Function evaluations are often failing on Wikifunctions.org with "gateway timeout" or “service unavailable”.

If I try running the function call above in the ApiSandbox, I get a "Service Unavailable."

Mon, Jul 8, 10:09 PM · Abstract Wikipedia team (25Q1 (Jul–Sep))
cmassaro added a comment to T368892: Function evaluations are often failing on Wikifunctions.org with "gateway timeout" or “service unavailable”.

Some of the failing tests also work if I use curl:

Mon, Jul 8, 8:22 PM · Abstract Wikipedia team (25Q1 (Jul–Sep))
cmassaro added a comment to T368892: Function evaluations are often failing on Wikifunctions.org with "gateway timeout" or “service unavailable”.

At least some calls to the orchestrator can run successfully with curl, and the response is basically instantaneous.

Mon, Jul 8, 8:16 PM · Abstract Wikipedia team (25Q1 (Jul–Sep))
cmassaro added a subtask for T367933: [25Q1] Performance improvements: T369552: Analyze Performance Numbers and Discuss an Appropriate Spike.
Mon, Jul 8, 8:08 PM · Abstract Wikipedia team (25Q1 (Jul–Sep))
cmassaro added a parent task for T369552: Analyze Performance Numbers and Discuss an Appropriate Spike: T367933: [25Q1] Performance improvements.
Mon, Jul 8, 8:08 PM · Abstract Wikipedia team (25Q1 (Jul–Sep)), WikiLambda, function-schemata, function-evaluator, function-orchestrator
cmassaro created T369552: Analyze Performance Numbers and Discuss an Appropriate Spike.
Mon, Jul 8, 8:07 PM · Abstract Wikipedia team (25Q1 (Jul–Sep)), WikiLambda, function-schemata, function-evaluator, function-orchestrator
cmassaro added a parent task for T364413: Improve the logging we're doing in the orchestrator and evaluator to have a better idea of where the slowness is coming from: T367933: [25Q1] Performance improvements.
Mon, Jul 8, 7:09 PM · Abstract Wikipedia team (25Q1 (Jul–Sep)), Patch-For-Review, function-evaluator, function-orchestrator
cmassaro added a subtask for T367933: [25Q1] Performance improvements: T364413: Improve the logging we're doing in the orchestrator and evaluator to have a better idea of where the slowness is coming from.
Mon, Jul 8, 7:09 PM · Abstract Wikipedia team (25Q1 (Jul–Sep))
cmassaro updated the task description for T364413: Improve the logging we're doing in the orchestrator and evaluator to have a better idea of where the slowness is coming from.
Mon, Jul 8, 7:09 PM · Abstract Wikipedia team (25Q1 (Jul–Sep)), Patch-For-Review, function-evaluator, function-orchestrator
cmassaro added a comment to T359439: Consider Re-Enabling Base WASMedge Image Stages.

This is getting more relevant now. Image publication often fails and has to be re-run manually.

Mon, Jul 8, 4:27 PM · Abstract Wikipedia Fix-It tasks, function-evaluator, Abstract Wikipedia team
cmassaro added a comment to T368892: Function evaluations are often failing on Wikifunctions.org with "gateway timeout" or “service unavailable”.

I've found more of these errors. They only seem to happen in compositions. This is making me think that maybe the result object is getting too big at some point in the execution. I'll dig into that.

Mon, Jul 8, 2:34 PM · Abstract Wikipedia team (25Q1 (Jul–Sep))
cmassaro added a comment to T368892: Function evaluations are often failing on Wikifunctions.org with "gateway timeout" or “service unavailable”.

We're still seeing the error after the above change. I agree that it's coming from the orchestrator (or at least the PHP -> orchestrator request), but the timeout we're getting is not the one implemented in the orchestrator's business logic. One of the Gateway Timeout errors we're getting doesn't even invoke the evaluator (https://www.wikifunctions.org/view/en/Z902), so evaluator latency doesn't explain everything.

Mon, Jul 8, 2:04 PM · Abstract Wikipedia team (25Q1 (Jul–Sep))

Jun 20 2024

cmassaro updated the task description for T363390: [24Q4] Type support for Wikidata prototype: Enumerations.
Jun 20 2024, 6:42 PM · MW-1.43-notes (1.43.0-wmf.3; 2024-04-30), Patch-For-Review, Epic, Abstract Wikipedia team (24Q4 (Apr–Jun))

Jun 18 2024

cmassaro moved T366498: Add and populate new nested meta-data key/value in the orchestrator from In Progress to Ready to deploy on the Abstract Wikipedia team (24Q4 (Apr–Jun)) board.
Jun 18 2024, 10:24 AM · Patch-For-Review, function-orchestrator, Abstract Wikipedia team (24Q4 (Apr–Jun))

Jun 17 2024

cmassaro created T367787: Clean up Scope Merging.
Jun 17 2024, 5:03 PM · function-orchestrator, Abstract Wikipedia team
cmassaro added a comment to T325793: Consider whether ZWrapper.create() should inject new scope even with ZWrapper as input; if not, audit uses and fix.

This is now starting to mess things up. ZID resolution is interfering with our scope attachment (and therefore our reporting of nested metadata): we shouldn't have the dereferencer wrap returned objects in ZWrappers but leave that responsibility to the caller, which has the relevant correct scope information.

Jun 17 2024, 12:42 PM · Patch-For-Review, Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-orchestrator
cmassaro changed the status of T325793: Consider whether ZWrapper.create() should inject new scope even with ZWrapper as input; if not, audit uses and fix from Open to In Progress.
Jun 17 2024, 12:39 PM · Patch-For-Review, Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-orchestrator
cmassaro moved T325793: Consider whether ZWrapper.create() should inject new scope even with ZWrapper as input; if not, audit uses and fix from Backlog to 24Q4 (Apr–Jun) on the Abstract Wikipedia team board.
Jun 17 2024, 12:39 PM · Patch-For-Review, Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-orchestrator
cmassaro claimed T325793: Consider whether ZWrapper.create() should inject new scope even with ZWrapper as input; if not, audit uses and fix.
Jun 17 2024, 12:38 PM · Patch-For-Review, Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-orchestrator

Jun 12 2024

cmassaro created T367333: [PRE-SPIKE]: Consider a Measure to Align Metadata Expectations System-Wide.
Jun 12 2024, 3:51 PM · WikiLambda, function-schemata, function-evaluator, function-orchestrator, Abstract Wikipedia team

Jun 11 2024

cmassaro placed T361361: Protect Stream Access with a Mutex and Unique ID in Executors up for grabs.
Jun 11 2024, 3:41 PM · function-evaluator, Abstract Wikipedia team

Jun 10 2024

cmassaro created T367120: findIdentity Function Is Broken.
Jun 10 2024, 9:12 PM · Abstract Wikipedia Fix-It tasks, function-schemata, Abstract Wikipedia team
cmassaro created T367080: Audit the Stray Orchestrator Config That Is Set in routes/evaluate.js.
Jun 10 2024, 4:15 PM · Abstract Wikipedia Fix-It tasks, function-orchestrator, Abstract Wikipedia team

Jun 6 2024

cmassaro added a parent task for T363396: Frontend: Display Nested Metadata Maps: T366829: Add addNestedMetadata to ORCHESTRATOR_CONFIG in Production and Beta Cluster.
Jun 6 2024, 5:45 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Abstract Wikipedia team (24Q4 (Apr–Jun)), WikiLambda Front-end, WikiLambda
cmassaro added a subtask for T366829: Add addNestedMetadata to ORCHESTRATOR_CONFIG in Production and Beta Cluster: T363396: Frontend: Display Nested Metadata Maps.
Jun 6 2024, 5:45 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), WikiLambda, function-orchestrator
cmassaro added a subtask for T363384: [24Q4] Make it easier for users to debug their code by having each function sub-call return a complete metadata map: T366829: Add addNestedMetadata to ORCHESTRATOR_CONFIG in Production and Beta Cluster.
Jun 6 2024, 5:45 PM · Epic, Abstract Wikipedia team (24Q4 (Apr–Jun))
cmassaro added a parent task for T366829: Add addNestedMetadata to ORCHESTRATOR_CONFIG in Production and Beta Cluster: T363384: [24Q4] Make it easier for users to debug their code by having each function sub-call return a complete metadata map.
Jun 6 2024, 5:45 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), WikiLambda, function-orchestrator
cmassaro created T366829: Add addNestedMetadata to ORCHESTRATOR_CONFIG in Production and Beta Cluster.
Jun 6 2024, 5:43 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), WikiLambda, function-orchestrator
cmassaro claimed T359233: Support typed list of types with type converters.
Jun 6 2024, 12:13 AM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Patch-For-Review

May 31 2024

cmassaro claimed T362738: Figure Out the Required Number of Corks.
May 31 2024, 1:11 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-evaluator
cmassaro claimed T359439: Consider Re-Enabling Base WASMedge Image Stages.
May 31 2024, 1:10 PM · Abstract Wikipedia Fix-It tasks, function-evaluator, Abstract Wikipedia team

May 30 2024

cmassaro added a comment to T364410: Find out why function_orchestrator_nonrequesterror and function_orchestrator_outgoingresponsecount aren't being emitted, and fix them.

In /function-orchestrator/app.js, the system doesn't like req, res, or next, the params in app.all(). Anytime I try to log them, the logs get held up.

May 30 2024, 6:37 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), function-orchestrator
cmassaro claimed T350176: Use findFunctionIdentity() utility method from function-schemata.
May 30 2024, 2:42 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-schemata, function-orchestrator
cmassaro claimed T365151: setZMapValue and setMetadataValue Should Mutate Objects In-Place, Not Return New Objects.
May 30 2024, 1:37 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Performance Issue, Abstract Wikipedia Fix-It tasks, function-schemata, function-evaluator, function-orchestrator
cmassaro moved T297506: ReferenceResolver.dereference Should Return Z22s from Backlog to 24Q4 (Apr–Jun) on the Abstract Wikipedia team board.
May 30 2024, 1:37 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-orchestrator
cmassaro moved T297506: ReferenceResolver.dereference Should Return Z22s from Incoming to Needs Sign-off on the Abstract Wikipedia team (24Q4 (Apr–Jun)) board.
May 30 2024, 1:37 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-orchestrator
cmassaro added a comment to T297506: ReferenceResolver.dereference Should Return Z22s.

This has apparently been fixed for a while!

May 30 2024, 1:37 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-orchestrator
cmassaro claimed T297506: ReferenceResolver.dereference Should Return Z22s.
May 30 2024, 1:32 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-orchestrator
cmassaro added a comment to T360243: `undefined.resolveKey` is called when code converter list fails to resolve.

This will be an excellent experimental case for the propagation of granular error data once the nestedMetadata stuff is ready; I recommend we take this on AFTER nested metadata is done.

May 30 2024, 1:31 PM · Abstract Wikipedia Fix-It tasks, function-orchestrator, Abstract Wikipedia team
cmassaro updated subscribers of T363703: Figure out Why Python3 Error Changed.

This was due to upstream changes in RustPython. @Jdforrester-WMF has since pinned our RustPython checkout to a specific tagged commit, so we shouldn't see this kind of volatility in future.

May 30 2024, 1:12 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-evaluator
cmassaro moved T363703: Figure out Why Python3 Error Changed from Backlog to 24Q4 (Apr–Jun) on the Abstract Wikipedia team board.
May 30 2024, 1:10 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-evaluator
cmassaro moved T363703: Figure out Why Python3 Error Changed from Incoming to Needs Sign-off on the Abstract Wikipedia team (24Q4 (Apr–Jun)) board.
May 30 2024, 1:10 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-evaluator
cmassaro claimed T340562: Test Request ID Cache Eviction and Expiry.
May 30 2024, 12:23 AM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-orchestrator

May 29 2024

cmassaro claimed T340561: Parameterize the ID Cache and the Rate Limiter.
May 29 2024, 7:34 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-orchestrator
cmassaro claimed T363710: Avoid Assertions and Rate Limiting in Benchmarks.
May 29 2024, 12:21 AM · Patch-For-Review, Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-evaluator

May 28 2024

cmassaro moved T340667: Correct the Invariants Used for Static Validation from Upcoming Epics to 24Q4 (Apr–Jun) on the Abstract Wikipedia team board.
May 28 2024, 9:01 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-orchestrator
cmassaro moved T340667: Correct the Invariants Used for Static Validation from Incoming to Needs Sign-off on the Abstract Wikipedia team (24Q4 (Apr–Jun)) board.
May 28 2024, 9:01 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-orchestrator
cmassaro added a comment to T340667: Correct the Invariants Used for Static Validation.

This is no longer true!

May 28 2024, 9:00 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-orchestrator
cmassaro moved T362703: Test Invalid ParseStates in Evaluator from Backlog to 24Q4 (Apr–Jun) on the Abstract Wikipedia team board.
May 28 2024, 9:00 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-evaluator
cmassaro moved T362703: Test Invalid ParseStates in Evaluator from Incoming to Ready to deploy on the Abstract Wikipedia team (24Q4 (Apr–Jun)) board.
May 28 2024, 8:59 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-evaluator
cmassaro added a comment to T327412: Re-enable skipped tests in mswOrchestrateTest once type comparison's guarantees are stricter.

These tests are still failing. As far as I can tell, the "bad user-defined type" test in mswOrchestrateTest is redundant with "generic type validation error: bad list" in mockedServicesOrchestrateTest/genericsTest.js

May 28 2024, 6:22 PM · Abstract Wikipedia team, Abstract Wikipedia Fix-It tasks, function-schemata, function-orchestrator
cmassaro raised the priority of T354917: Orchestrator sometimes returns a result in normal form from Low to Medium.
May 28 2024, 5:33 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), function-schemata, function-orchestrator, Abstract Wikipedia Fix-It tasks
cmassaro claimed T362703: Test Invalid ParseStates in Evaluator.
May 28 2024, 1:26 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Abstract Wikipedia Fix-It tasks, function-evaluator

May 23 2024

cmassaro added a comment to T365515: Try out Tree-Kill or Something Else as a More Sustainable Way to Kill Process Trees.

ps-node also fails, in an even worse way: it kills the two parent processes but leaves the wasmedge process itself running (in a non-zombie state, even).

May 23 2024, 1:51 PM · Abstract Wikipedia Fix-It tasks, function-evaluator, Abstract Wikipedia team

May 22 2024

cmassaro added a comment to T364889: Figure Out Why Wasmedge Subprocesses Aren't Always Killed; Kill Them.

For what it's worth, I am not seeing this issue on Beta cluster

May 22 2024, 4:29 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), function-evaluator
cmassaro added a comment to T364889: Figure Out Why Wasmedge Subprocesses Aren't Always Killed; Kill Them.

For what it's worth, I am not seeing this issue on Beta cluster

May 22 2024, 4:22 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), function-evaluator
cmassaro added a comment to T365515: Try out Tree-Kill or Something Else as a More Sustainable Way to Kill Process Trees.
root@3ed8d7dddc2f:/srv/service# ps aux
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root           1  0.6  0.2 1105088 74724 ?       Ssl  16:15   0:01 node server.js
root          17  0.1  0.0   4608  3712 pts/0    Ss   16:18   0:00 /bin/bash
root          25  0.1  0.1 724296 41088 ?        Ssl  16:18   0:00 node /srv/service/executor-classes/javaScriptWasmSubprocess.js
root          36  0.0  0.0   2576  1536 ?        S    16:18   0:00 /bin/sh -c . /srv/service/programming-languages/wasmedge/wasmedge-binary/env && wasmedge --enable-all-statistics --dir .:. --dir /executo
root          37 99.9  0.1 12746860 42556 ?      Sl   16:18   0:14 wasmedge --enable-all-statistics --dir .:. --dir /executors/javascript-wasmedge:./executors/javascript-wasmedge /srv/service/programming-
root          45  0.0  0.0   8480  4352 pts/0    R+   16:18   0:00 ps aux
root@3ed8d7dddc2f:/srv/service# ps aux
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root           1  0.7  0.2 1172928 77528 ?       Ssl  16:15   0:01 node server.js
root          17  0.1  0.0   4608  3712 pts/0    Ss   16:18   0:00 /bin/bash
root          36  0.0  0.0      0     0 ?        Z    16:18   0:00 [sh] <defunct>
root          37 97.0  0.0      0     0 ?        Z    16:18   0:15 [wasmedge] <defunct>
root          50  0.0  0.0   8480  4480 pts/0    R+   16:18   0:00 ps aux
May 22 2024, 4:19 PM · Abstract Wikipedia Fix-It tasks, function-evaluator, Abstract Wikipedia team
cmassaro created T365625: Create a Validator for `Z883`-Derived Types to Ensure That Maps are Maps and Not Multimaps.
May 22 2024, 3:40 PM · function-schemata, function-orchestrator, Abstract Wikipedia team
cmassaro added a comment to T364655: Test Z15753 fails for implementation Z13577 and unclear why (absolute difference in Python).

Whatever happened, it was ephemeral. I tried Wikifunctions.Debugging the arguments, and they were as expected. Removing the cached results and re-running caused the function to execute successfully.

May 22 2024, 3:21 PM · Abstract Wikipedia team (24Q4 (Apr–Jun))
cmassaro moved T364655: Test Z15753 fails for implementation Z13577 and unclear why (absolute difference in Python) from In Progress to Needs Sign-off on the Abstract Wikipedia team (24Q4 (Apr–Jun)) board.
May 22 2024, 3:20 PM · Abstract Wikipedia team (24Q4 (Apr–Jun))
cmassaro changed the status of T364655: Test Z15753 fails for implementation Z13577 and unclear why (absolute difference in Python) from Open to In Progress.
May 22 2024, 3:12 PM · Abstract Wikipedia team (24Q4 (Apr–Jun))
cmassaro changed the status of T351473: Create a More General Solution for Metadata Merging from Open to In Progress.
May 22 2024, 3:12 PM · Patch-For-Review, Abstract Wikipedia team (24Q4 (Apr–Jun)), function-schemata, function-orchestrator
cmassaro claimed T364655: Test Z15753 fails for implementation Z13577 and unclear why (absolute difference in Python).
May 22 2024, 3:12 PM · Abstract Wikipedia team (24Q4 (Apr–Jun))
cmassaro changed the status of T351473: Create a More General Solution for Metadata Merging, a subtask of T363384: [24Q4] Make it easier for users to debug their code by having each function sub-call return a complete metadata map, from Open to In Progress.
May 22 2024, 3:12 PM · Epic, Abstract Wikipedia team (24Q4 (Apr–Jun))
cmassaro changed the status of T351473: Create a More General Solution for Metadata Merging, a subtask of T363396: Frontend: Display Nested Metadata Maps, from Open to In Progress.
May 22 2024, 3:11 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Abstract Wikipedia team (24Q4 (Apr–Jun)), WikiLambda Front-end, WikiLambda
cmassaro moved T364889: Figure Out Why Wasmedge Subprocesses Aren't Always Killed; Kill Them from In Progress to Ready to deploy on the Abstract Wikipedia team (24Q4 (Apr–Jun)) board.
May 22 2024, 3:11 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), function-evaluator
cmassaro moved T365206: Following month functions fails with type mismatch error when run on old orchestrator that doesn't know about identities; update the production one from Incoming to Needs Sign-off on the Abstract Wikipedia team (24Q4 (Apr–Jun)) board.
May 22 2024, 3:11 PM · Abstract Wikipedia team (24Q4 (Apr–Jun))
cmassaro moved T365206: Following month functions fails with type mismatch error when run on old orchestrator that doesn't know about identities; update the production one from To triage to 24Q4 (Apr–Jun) on the Abstract Wikipedia team board.
May 22 2024, 3:10 PM · Abstract Wikipedia team (24Q4 (Apr–Jun))

May 21 2024

cmassaro created T365515: Try out Tree-Kill or Something Else as a More Sustainable Way to Kill Process Trees.
May 21 2024, 6:05 PM · Abstract Wikipedia Fix-It tasks, function-evaluator, Abstract Wikipedia team

May 20 2024

cmassaro added a comment to T364889: Figure Out Why Wasmedge Subprocesses Aren't Always Killed; Kill Them.

I have replicated this locally. There are a few unfortunate things happening here. One is that our last-ditch effort (process.kill) still doesn't work in some cases, and every solution I've tried so far leaves us with zombie processes. It seems like the wasmedge environment does something that messes up process parent relationships, so I'll keep digging into that.

May 20 2024, 4:12 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), function-evaluator

May 17 2024

cmassaro added a comment to T365206: Following month functions fails with type mismatch error when run on old orchestrator that doesn't know about identities; update the production one.

Very weird. When I test with the image that production is using, I can repro locally; however, when I use a more recent version of the orchestrator, I can run the function successfully. It's possible that the failure to recognize the Identity key, combined with the expansions of that key, might be responsible for the issue. In any case, I think this will resolve itself once we deploy a new version of the orchestrator on Monday, so we should retry then.

May 17 2024, 12:19 AM · Abstract Wikipedia team (24Q4 (Apr–Jun))

May 16 2024

cmassaro claimed T351473: Create a More General Solution for Metadata Merging.
May 16 2024, 7:53 PM · Patch-For-Review, Abstract Wikipedia team (24Q4 (Apr–Jun)), function-schemata, function-orchestrator
cmassaro added a project to T365194: Make It a Post-Condition that the Evaluator's Output Be in Valid Normal Form: Abstract Wikipedia Fix-It tasks.
May 16 2024, 7:20 PM · Abstract Wikipedia Fix-It tasks, function-evaluator, function-orchestrator, Abstract Wikipedia team
cmassaro created T365194: Make It a Post-Condition that the Evaluator's Output Be in Valid Normal Form.
May 16 2024, 7:19 PM · Abstract Wikipedia Fix-It tasks, function-evaluator, function-orchestrator, Abstract Wikipedia team
cmassaro updated the task description for T365131: Have getError Expect a List of Errors.
May 16 2024, 7:14 PM · function-schemata, Abstract Wikipedia Fix-It tasks, function-orchestrator, Abstract Wikipedia team
cmassaro updated the task description for T365151: setZMapValue and setMetadataValue Should Mutate Objects In-Place, Not Return New Objects.
May 16 2024, 5:03 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Performance Issue, Abstract Wikipedia Fix-It tasks, function-schemata, function-evaluator, function-orchestrator
cmassaro created T365151: setZMapValue and setMetadataValue Should Mutate Objects In-Place, Not Return New Objects.
May 16 2024, 1:44 PM · Abstract Wikipedia team (24Q4 (Apr–Jun)), Performance Issue, Abstract Wikipedia Fix-It tasks, function-schemata, function-evaluator, function-orchestrator