[INSTRM-1407] tron cmdQueued does track full command chain properly Created: 19/Oct/21  Updated: 02/Sep/23

Status: In Progress
Project: Instrument control development
Component/s: tron_tron
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: arnaud.lefur Assignee: arnaud.lefur
Resolution: Unresolved Votes: 0
Labels: EngRun, PFI-tools
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to INSTRM-1408 make sure commander is always propaga... Open
Story Points: 2

 Description   

when iic calls sps it passes down the commander which also passes down the commander to lower level actors.
We should be able to track the full command chain, ie:

 'arnaud_alefur_pcp.oneCmd.iic.sps.tests',

but looking at the keywords generated by tron it looks like the command chain is not correctly propagated, so the genuine origin of the command cannot be retrieved.

db.fetchall("select * from cmds__cmdqueued order by raw_id desc")

array([['282', '76', '1634591924.8', 'client.v3.sps', '12', 'tests', '5',
        'test'],
       ['280', '75', '1634591924.8', 'client.v7.iic', '10', 'sps', '5',
        'test'],
       ['278', '74', '1634591924.8', 'arnaud_alefur_pcp.oneCmd', '1',
        'iic', '5', 'test'],

Generated at Sat Feb 10 16:35:08 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.