<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:32:41 UTC 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>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-54107] compile_commands.json should have an order-only dependency on generated-sources</title>
                <link>https://jira.mongodb.org/browse/SERVER-54107</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Adding an order-only dependency edge ensures that all of the generated sources are built before writing the compile_commands.json. This ensures that by the time that tooling sees the compiledb, it is able to build everything in it. Without it, you may get spurious failures in an indexer if it notices the new db and tries to build anything that relies on new generated sources. This also allows people to just run &lt;tt&gt;ninja compiledb&lt;/tt&gt; in order to get indexing working, and to keep it up to date as things change.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1603310">SERVER-54107</key>
            <summary>compile_commands.json should have an order-only dependency on generated-sources</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="tausif.rahman@mongodb.com">Tausif Rahman</assignee>
                                    <reporter username="mathias@mongodb.com">Mathias Stearn</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Jan 2021 15:14:37 +0000</created>
                <updated>Sun, 29 Oct 2023 21:58:17 +0000</updated>
                            <resolved>Wed, 11 May 2022 21:09:20 +0000</resolved>
                                                    <fixVersion>6.1.0-rc0</fixVersion>
                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="4541406" author="xgen-internal-githook" created="Wed, 11 May 2022 13:10:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Tausif Rahman&apos;, &apos;email&apos;: &apos;62212154+trahman1318@users.noreply.github.com&apos;, &apos;username&apos;: &apos;trahman1318&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54107&quot; title=&quot;compile_commands.json should have an order-only dependency on generated-sources&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54107&quot;&gt;&lt;del&gt;SERVER-54107&lt;/del&gt;&lt;/a&gt; compile_commands.json should have an order-only dependency on generated-sources&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3006c91474164db5b5d350030ef289e766440b0f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3006c91474164db5b5d350030ef289e766440b0f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4540065" author="xgen-internal-githook" created="Tue, 10 May 2022 21:53:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Tausif Rahman&apos;, &apos;email&apos;: &apos;tausif.rahman@mongodb.com&apos;, &apos;username&apos;: &apos;trahman1318&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54107&quot; title=&quot;compile_commands.json should have an order-only dependency on generated-sources&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54107&quot;&gt;&lt;del&gt;SERVER-54107&lt;/del&gt;&lt;/a&gt; compile_commands.json should have an order-only dependency on generated-sources&quot;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/610ca5864154d97ddd18d225a2c148a96260eadc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/610ca5864154d97ddd18d225a2c148a96260eadc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4536714" author="JIRAUSER1258055" created="Mon, 9 May 2022 21:23:31 +0000"  >&lt;p&gt;Thanks for the clarification &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mathias%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;mathias@mongodb.com&quot;&gt;mathias@mongodb.com&lt;/a&gt;. Are there instances where compile_commands.json is needed/useful/valid without running generated-sources? I&apos;m evaluating whether it is worth accommodating both scenarios or not.&lt;/p&gt;</comment>
                            <comment id="4519394" author="redbeard0531" created="Mon, 2 May 2022 10:16:17 +0000"  >&lt;p&gt;I don&apos;t think the committed fix was quite right. The order only edge needs to be specifically from &lt;tt&gt;compile_commands.json&lt;/tt&gt; to &lt;tt&gt;generated-sources&lt;/tt&gt;. Doing it from &lt;tt&gt;compiledb&lt;/tt&gt; isn&apos;t sufficient. The issue is that we need to ensure that the generated sources are in place prior to generating the compile_commands.json file, otherwise tooling can get very confused. Tools may start processing the compile_commands.json file as soon as it exists and set up tracking for all TUs listed along with transitively included headers. Unfortunately many tools can&apos;t correctly track files that don&apos;t exist yet, so they will just note that the TU failed to compiled (hopefully it doesn&apos;t find the wrong header somewhere else!), and not automatically try compiling once the sources are generated. This can lead to incomplete results when doing things like renames or find-all-references.&lt;/p&gt;</comment>
                            <comment id="4511035" author="xgen-internal-githook" created="Wed, 27 Apr 2022 19:49:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Tausif Rahman&apos;, &apos;email&apos;: &apos;tausif.rahman@mongodb.com&apos;, &apos;username&apos;: &apos;trahman1318&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-54107&quot; title=&quot;compile_commands.json should have an order-only dependency on generated-sources&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-54107&quot;&gt;&lt;del&gt;SERVER-54107&lt;/del&gt;&lt;/a&gt; compile_commands.json should have an order-only dependency on generated-sources&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/4e79ecabfa57623648688e5d602dae16e3f4a72c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/4e79ecabfa57623648688e5d602dae16e3f4a72c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4492462" author="acm" created="Tue, 19 Apr 2022 20:48:03 +0000"  >&lt;p&gt;Note that there are times where it is useful to be able to get just the compiledb without the generated sources. We probably want to be able to do both.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 19 Apr 2022 20:48:03 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 39 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 39 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
            <customfieldvalue>tausif.rahman@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hyrrpb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0d8tj:y</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="6068">Dev Platform 2022-05-02</customfieldvalue>
    <customfieldvalue id="6069">Dev Platform 2022-05-16</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hyrdyf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>