<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:40:10 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-79137] Add a single unit test to bazel PoC</title>
                <link>https://jira.mongodb.org/browse/SERVER-79137</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We should demonstrate that bazel is able to run a unit test. This will make sure static initializers work. We should try to convert &quot;unit test test&quot; to confirm it is working. This ticket will be completed when we are able to run this binary outside of bazel.&lt;/p&gt;

&lt;p&gt;This work should be completed on &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daniel.moody%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;daniel.moody@mongodb.com&quot;&gt;daniel.moody@mongodb.com&lt;/a&gt; &apos;s &lt;a href=&quot;https://github.com/10gen/mongo/tree/bazel_test&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;PoC branch&lt;/a&gt; . There is also prior art for how to build server as part of the work on &lt;a href=&quot;https://github.com/10gen/mongo/pull/11198&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this branch&lt;/a&gt;. I think you will need to do work to combine the two branches because you will most likely need some third_parties built with bazel.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2396267">SERVER-79137</key>
            <summary>Add a single unit test to bazel PoC</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="zack.winter@mongodb.com">Zack Winter</assignee>
                                    <reporter username="alex.neben@mongodb.com">Alex Neben</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Jul 2023 21:02:12 +0000</created>
                <updated>Tue, 28 Nov 2023 00:20:44 +0000</updated>
                            <resolved>Thu, 16 Nov 2023 19:59:09 +0000</resolved>
                                                    <fixVersion>7.3.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5886382" author="JIRAUSER1274619" created="Thu, 16 Nov 2023 19:58:49 +0000"  >&lt;p&gt;Closing this out since we now have a bazel unit test running in CI (this is a real mongodb unit test, just not using the unit test framework).&lt;/p&gt;

&lt;p&gt;Created &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-83364&quot; title=&quot;Support MongoDB Unit Test Framework in Bazel&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-83364&quot;&gt;SERVER-83364&lt;/a&gt; to track the work of supporting the MongoDB unit test framework in phase 2 since we cannot do this until we&apos;ve made bazel required.&lt;/p&gt;</comment>
                            <comment id="5862727" author="xgen-internal-githook" created="Wed, 8 Nov 2023 00:30:09 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Zack Winter&apos;, &apos;email&apos;: &apos;zack.winter@mongodb.com&apos;, &apos;username&apos;: &apos;zackwintermdb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-79137&quot; title=&quot;Add a single unit test to bazel PoC&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-79137&quot;&gt;&lt;del&gt;SERVER-79137&lt;/del&gt;&lt;/a&gt; Add evergreen target to exercise &apos;bazel run&apos;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1f820ec1a41a07107b0ce500a8c47d0cfebf67ce&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1f820ec1a41a07107b0ce500a8c47d0cfebf67ce&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5858486" author="JIRAUSER1274619" created="Mon, 6 Nov 2023 19:43:51 +0000"  >&lt;p&gt;I don&apos;t know if we can really call this done. Technically visibility_test1 is a test but it doesn&apos;t depend on the mongodb unit test framework. After the previous PR, this target is now fully runnable via &quot;bazel run&quot; and &quot;bazel test&quot;, but it&apos;s not much more than a hello world program.&lt;/p&gt;

&lt;p&gt;That being said, I don&apos;t think we want to add in all of the dependencies for the unit test framework in phase 1. I looked through what files it would touch and it seems like certain dependencies of the unit test framework are fairly regularly updated. Since we don&apos;t want to port over commonly modified targets, I&apos;d like to defer this to phase 2 when we can fully deprecate the scons version of these targets.&lt;/p&gt;

&lt;p&gt;We can use this target to test out linking, which should get us what we need for phase 1.&lt;/p&gt;</comment>
                            <comment id="5855433" author="JIRAUSER1268551" created="Sun, 5 Nov 2023 17:54:04 +0000"  >&lt;p&gt;The intent of this ticket was for a user to be able to run a unit test. Can this be run after this merge? My reading was that it just builds?&lt;/p&gt;</comment>
                            <comment id="5853942" author="xgen-internal-githook" created="Sat, 4 Nov 2023 01:26:25 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Zack Winter&apos;, &apos;email&apos;: &apos;zack.winter@mongodb.com&apos;, &apos;username&apos;: &apos;zackwintermdb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-79137&quot; title=&quot;Add a single unit test to bazel PoC&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-79137&quot;&gt;&lt;del&gt;SERVER-79137&lt;/del&gt;&lt;/a&gt; convert visibility_test1 to build in bazel&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/03c8f50ee8a8a6e94f3144ed6d1d55da3bb4d1ea&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/03c8f50ee8a8a6e94f3144ed6d1d55da3bb4d1ea&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5614027" author="JIRAUSER1274045" created="Fri, 4 Aug 2023 16:42:03 +0000"  >&lt;p&gt;I&apos;ve explored making a unit test buildable &lt;a href=&quot;https://github.com/10gen/mongo/compare/stevegrossmongodb/SERVER-79137?expand=1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;. However, it&apos;s not feasible... yet! Bazel is quite strict about #include directives, so I can&apos;t really build a unit test without first ensuring the Bazel-buildability of the test&apos;s dependencies. This includes #include-based dependencies.&lt;/p&gt;

&lt;p&gt;I still plan to do this as part of phase 1, but I need a bit more time. In particular, I need to adapt a minimum set of libraries to be Bazel-buildable, and &lt;b&gt;then&lt;/b&gt; build a test that depends on those libraries.&lt;/p&gt;</comment>
                            <comment id="5583810" author="JIRAUSER1268551" created="Fri, 21 Jul 2023 19:59:00 +0000"  >&lt;p&gt;&quot;base_test&quot; seems to be a top level test which can be found &lt;a href=&quot;https://github.com/10gen/mongo/blob/4e1b87708dfd30e319cbd635f6688434cbade779/src/mongo/base/SConscript#L73&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5582920" author="JIRAUSER1268551" created="Fri, 21 Jul 2023 14:50:03 +0000"  >&lt;p&gt;I am not totally sure. Maybe base_test?&lt;/p&gt;</comment>
                            <comment id="5581225" author="JIRAUSER1274045" created="Thu, 20 Jul 2023 20:18:07 +0000"  >&lt;p&gt;Note to self: to easily view how &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daniel.moody%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;daniel.moody@mongodb.com&quot;&gt;daniel.moody@mongodb.com&lt;/a&gt;&apos;s changes work, use &lt;a href=&quot;https://github.com/10gen/mongo/compare/master...bazel_test&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this link&lt;/a&gt;&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>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25130"><![CDATA[Server Development Platform]]></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>Thu, 20 Jul 2023 14:34:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        11 weeks, 6 days 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DEVPROD-257</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>iryna.zhuravlova@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            11 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>alex.neben@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>steve.gross@mongodb.com</customfieldvalue>
            <customfieldvalue>zack.winter@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2iobb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i20t28:</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_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|i2iagn:</customfieldvalue>

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