Page MenuHomePhabricator

ZWrapper caching is broken
Closed, ResolvedPublicBUG REPORT

Description

ZWrapper.resolveKey() is supposed to return the resolved version of a zobject key. This was broken in https://github.com/wikimedia/mediawiki-services-function-orchestrator/commit/ffcb8e454e092f07501c8bbbafc30a0c48abd0df because when the key is an argument reference the resolved version is not stored, so resolveKey() returns the unresolved version.

Not sure how to fix it without breaking the original issue (https://phabricator.wikimedia.org/T310085).

Blocks fix for dynamic scoping (https://phabricator.wikimedia.org/T309195).

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 811978 had a related patch set uploaded (by AAssaf; author: AAssaf):

[mediawiki/services/function-orchestrator@master] Fix ZWrapper caching by storing the result of argument reference resolution.

https://gerrit.wikimedia.org/r/811978

Change 811978 merged by jenkins-bot:

[mediawiki/services/function-orchestrator@master] Fix ZWrapper caching by storing the result of argument reference resolution.

https://gerrit.wikimedia.org/r/811978