<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:40:58 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[INSTRM-1914] add optional configPath to actor.reloadConfiguration</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-1914</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;When we need to edit configuration file and reload, we should be &lt;b&gt;forbidden&lt;/b&gt; to edit the installed tagged version of pfs_instdata.&lt;br/&gt;
But right now, the other option is to stop the actor, setup another pfs_instdata and start the actor again which is basically overkill.&lt;/p&gt;

&lt;p&gt;Just add optional configPath to actor.reloadConfiguration, so that $PFS_INSTDATA_DIR point to another directory, which can be edited in place.&lt;/p&gt;</description>
                <environment></environment>
        <key id="23336">INSTRM-1914</key>
            <summary>add optional configPath to actor.reloadConfiguration</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="1" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="arnaud.lefur">arnaud.lefur</assignee>
                                    <reporter username="arnaud.lefur">arnaud.lefur</reporter>
                        <labels>
                            <label>SPS</label>
                    </labels>
                <created>Fri, 31 Mar 2023 16:47:51 +0000</created>
                <updated>Wed, 24 Jan 2024 20:14:05 +0000</updated>
                                                                            <component>tron_actorcore</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                            <comment id="32510" author="rhl" created="Fri, 31 Mar 2023 16:50:57 +0000"  >&lt;p&gt;Doesn&apos;t this mean that we won&apos;t know which exact version we&apos;re running?  Just how onerous is it to run a setup version (which needn&apos;t be tagged if you&apos;re trying to circumvent the system?)&lt;/p&gt;</comment>
                            <comment id="32511" author="cloomis" created="Fri, 31 Mar 2023 16:59:31 +0000"  >&lt;p&gt;We were thinking that the argument specifying the new &lt;tt&gt;pfs_instdata&lt;/tt&gt; root would in almost all cases be for a different tagged version. In any case the &lt;tt&gt;version_pfs_instdata&lt;/tt&gt; MHS key (and for FITS-writing actors the corresponding card) would change to the &lt;tt&gt;git describe --dirty&lt;/tt&gt; for the new root. &lt;/p&gt;</comment>
                            <comment id="32512" author="cloomis" created="Fri, 31 Mar 2023 17:02:25 +0000"  >&lt;p&gt;Some actors are problematic to restart. Specifically, the gatevalve gets closed and the H4 DAQ powered off when the controlling actor for each is stopped. That is a property of the kernel driver along with the polarity of the signal lines.&lt;/p&gt;</comment>
                            <comment id="32513" author="rhl" created="Fri, 31 Mar 2023 17:05:57 +0000"  >&lt;p&gt;So you&apos;d &lt;tt&gt;reload&lt;/tt&gt; the new code into a running actor?&lt;/p&gt;</comment>
                            <comment id="32514" author="cloomis" created="Fri, 31 Mar 2023 17:19:23 +0000"  >&lt;p&gt;Configuration not code, but yes. Tell a running actor to use &lt;tt&gt;pfs_instdata 1.2&lt;/tt&gt; version of its configuration instead of the &lt;tt&gt;pfs_instdata 1.1&lt;/tt&gt; one it was built against. In &lt;b&gt;practice&lt;/b&gt; this is mostly sane, since all current actors load a single config file, which boils down to a single python dictionary. The risk is that other parts of the actor&apos;s configuration would change but not get &quot;applied&quot;. &lt;/p&gt;

&lt;p&gt;One alternative was to support some &quot;patching mechanism&quot;, where you basically allow an update of that dict. &lt;/p&gt;

&lt;p&gt;We don&apos;t love these mechanisms, but are scared worse by not having any. I&apos;d like, at the very least, to have a printout of changes when loading a new version.&lt;/p&gt;</comment>
                            <comment id="35632" author="cloomis" created="Tue, 24 Oct 2023 21:22:57 +0000"  >&lt;p&gt;Bump. We are and will be testing various ion pump controller configurations on SM3. I made the (very limited) changes to the installed tagged version, but am very unhappy about doing that. Did not want to cycle the gatevalve.&lt;/p&gt;

&lt;p&gt;Hmm, thought: we could probably ensure that any new config version is on a git branch based directly off the starting tag. Not sure how, but that feels like something git can let you determine without too much work.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="24402">INSTRM-2158</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|zzswo7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>