<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:24:28 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>[DRIVERS-2001] Serverless create-instance script should handle wider range of project names</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2001</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;The &lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/blob/master/.evergreen/serverless/create-instance.sh&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;create-instance.sh&lt;/a&gt; script is responsible for creating serverless instances.  It creates the instance names based on the Evergreen project name, which is set in the PROJECT environment variable.  The problem is that common project names cause Atlas to return errors.  For example, the project name &quot;mongo-java-driver-4.4&quot; results in an this error:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;The serverless instance name 697-mongo-java-driver-4.4 is invalid. The name can only contain ASCII letters, numbers, and hyphens.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;while the project name &quot;mongo-java-driver-44&quot; results in this error:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Serverless instance name \&quot;9974-mongo-java-driver-44\&quot; is invalid. Atlas truncates serverless instance names to 23 characters which results in an invalid hostname due to a trailing \&quot;&lt;del&gt;\&quot; in the generated serverless instance name prefix \&quot;9974-mongo-java-driver&lt;/del&gt;\&quot;.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Given that there are many existing projects that don&apos;t work with this script, I suggest that we modify this script so that it tolerates a wider range of project names, taking into account whatever rules Atlas has for serverless instance names.  Maybe the serverless instance name shouldn&apos;t depend on the project name at all.  Not sure what the benefit of that is.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1941856">DRIVERS-2001</key>
            <summary>Serverless create-instance script should handle wider range of project names</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="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 3 Dec 2021 01:50:47 +0000</created>
                <updated>Sat, 28 Oct 2023 10:44:40 +0000</updated>
                            <resolved>Thu, 16 Dec 2021 19:11:00 +0000</resolved>
                                                        <component>Serverless</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4254653" author="xgen-internal-githook" created="Thu, 16 Dec 2021 19:10:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2001&quot; title=&quot;Serverless create-instance script should handle wider range of project names&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2001&quot;&gt;&lt;del&gt;DRIVERS-2001&lt;/del&gt;&lt;/a&gt; remove $PROJECT from create-instance (#182)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/commit/013e525aa9d5167184a6a46f875c1fc19cce582e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-labs/drivers-evergreen-tools/commit/013e525aa9d5167184a6a46f875c1fc19cce582e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4247760" author="kevin.albertson" created="Tue, 14 Dec 2021 19:50:01 +0000"  >&lt;p&gt;PR: &lt;a href=&quot;https://github.com/mongodb-labs/drivers-evergreen-tools/pull/182&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-labs/drivers-evergreen-tools/pull/182&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10940"><![CDATA[Not Needed]]></customfieldvalue>

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