<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:39:39 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>[GODRIVER-2921] Create a MongoDB Go Driver linter</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2921</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Create a linter that reports when the MongoDB Go Driver is used in erroneous or error-prone ways. Specifically, cover cases that are detectable by static analysis, but don&apos;t cause compilation failures.&lt;/p&gt;

&lt;p&gt;Proposed MongoDB Go Driver linter checks:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Check for improper usage of &lt;tt&gt;bson.E&lt;/tt&gt; as a nested document instead of &lt;tt&gt;bson.D&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;Check for improper passing of multiple options structs to some APIs (only Go Driver 2.x).&lt;/li&gt;
	&lt;li&gt;Check for un-closed sessions and transactions.&lt;/li&gt;
	&lt;li&gt;Check for operations inside &lt;tt&gt;WithSession&lt;/tt&gt; or &lt;tt&gt;WithTransaction&lt;/tt&gt; not using the SessionContext.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Definition of done:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Create a Go linter that checks for some or all of the proposed problems above.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Open questions:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;What is the full list of checks?&lt;/li&gt;
	&lt;li&gt;Should we create a new repository or release the linter as a submodule from the Go driver repository?&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="2402947">GODRIVER-2921</key>
            <summary>Create a MongoDB Go Driver linter</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="matt.dale@mongodb.com">Matt Dale</reporter>
                        <labels>
                    </labels>
                <created>Thu, 27 Jul 2023 17:04:55 +0000</created>
                <updated>Fri, 12 Jan 2024 18:22:41 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>3</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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i21xhs:</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>