<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:16:38 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>[CDRIVER-2889] Fetch source in task instead of in &quot;pre&quot; section of Evergreen config</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2889</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Currently our evergreen config fetches the git repository &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/2673178051180ebf27c1c7c0539bf11984b4386f/.evergreen/config.yml#L519-L520&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;in the &quot;pre&quot; section&lt;/a&gt;, which runs before every task.&lt;/p&gt;

&lt;p&gt;There are two problems with this:&lt;/p&gt;

&lt;p&gt;1. Tasks that don&apos;t need to fetch the source always do needlessly. Integration test tasks don&apos;t need the source, they fetch the build from the dependant compilation task.&lt;/p&gt;

&lt;p&gt;2. I&apos;ve been bitten by Evergreen patch builds with a base commit that did not exist in upstream. This has happened to me when I&apos;ve pushed commits to my fork (origin) before pushing to upstream, and creating a patch build afterwards. That&apos;s my mistake, but &quot;pre&quot; scripts that fail do so silently (&lt;a href=&quot;https://github.com/evergreen-ci/evergreen/wiki/Project-Files#pre-post-and-timeout&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;as documented on the Evergreen wiki&lt;/a&gt;). So &lt;a href=&quot;https://evergreen.mongodb.com/task/mongo_c_driver_releng_make_release_archive_patch_d719592d994aee1ffb4ccfcf6396c89ed8b0f1d3_5bfe066d2a60ed6920dce644_18_11_28_03_07_35&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;patch builds like this one&lt;/a&gt; end up checking out mongo-c-driver, &lt;em&gt;not&lt;/em&gt; applying the patch, but running the rest of the task - causing confusing errors.&lt;/p&gt;

&lt;p&gt;Instead of fetching the source in &quot;pre&quot;, we should do it in the command list of individual tasks. That way we don&apos;t needlessly fetch source for tasks that don&apos;t need it, and if it fails we&apos;ll know right away.&lt;/p&gt;</description>
                <environment></environment>
        <key id="639289">CDRIVER-2889</key>
            <summary>Fetch source in task instead of in &quot;pre&quot; section of Evergreen config</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="12300">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 Nov 2018 14:20:34 +0000</created>
                <updated>Fri, 15 Apr 2022 18:23:12 +0000</updated>
                            <resolved>Fri, 15 Apr 2022 18:23:12 +0000</resolved>
                                                                    <component>tests</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-2733</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6lsn:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>