Skip to content

Provenance isn't populated utnil at least 1 app is run #91

@MrCreosote

Description

@MrCreosote

This means if an app doesn't call any other apps but fetches provenance from the callback server, the provenance will be wrong:

$ curl  -d '{"method":"CallbackServer.get_provenance","params":[]}' localhost:41823
{"result":[[]]}

$ curl  -d '{"method":"DataFileUtil.ws_name_to_id","params":["test_ASimpleModuleForUnitTestingJava_1749491135015"]}' localhost:41823
{"version":"1.1","result":[79453],"id":"callback","finished":1}
 
$ curl  -d '{"method":"CallbackServer.get_provenance","params":[]}' localhost:41823
{"result":[[{"time":"2025-07-12T01:54:13+00:00","service":"foo","service_ver":"dev","method":"bar","method_params":[],"input_ws_objects":[],"subactions":[{"name":"DataFileUtil","ver":null,"code_url":"https:\/\/github.com\/kbaseapps\/DataFileUtil","commit":"0d855560a37f8787ab3bb67e464b9c94b299764e"}],"description":"KBase SDK method run via the KBase Execution Engine"}]]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions