You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move the workflow-access and result-reading helpers into common modules #9047
result-service (#8995) needs four pieces that live in amber today, and amber keeps using all of them. None depends on anything amber-specific, so they move into common modules that both can depend on, the way ComputingUnitAccess already lives in common/auth.
Result URI lookups (getResultUrisByExecutionId, getResultUriByLogicalPortId)
companion object of WorkflowExecutionsResource
common/workflow-core
common/dao, VFSURIFactory
WarehouseReadGuard and WarehouseUnavailableException
amber, web/service
common/workflow-core
VFSURIFactory, StorageConfig
convertTuplesToJson and the binary-preview helpers it uses
ExecutionResultService
common/workflow-core
Tuple, AttributeType, JSONUtils
The REST resources stay in amber; only these functions move, and amber's callers import them from their new locations. Behaviour is unchanged. Tests of the moved functions move with them; tests that exercise them through amber's resources stay where they are.
convertTuplesToJson needs a single home for a second reason: the CU's pushed visualization snapshots and result-service's pages have to render tuples identically.
Out of scope. Folding workflow access into common/resource's ResourceAccess, which expects the owner on the resource's own row; a workflow's owner is in workflow_of_user, so that would be a behaviour change rather than a move. The notebook service's own write-access check also stays as is, since it deliberately ignores public visibility.
Activity
jor-mar commentedon Oct 22, 2026
Can I take this issue if nobody else will?
mengw15 commentedon Oct 22, 2026
Sorry, I forgot to assign this issue to myself. Feel free to look for other issues to work on, and thanks for your interest!
refactor: move workflow access and result helpers to common (apache#9219