tag:github.com,2008:https://github.com/MrStacks/sourcegraph/releasesTags from sourcegraph2023-07-26T19:40:54Ztag:github.com,2008:Repository/676753623/v5.1.52023-07-26T19:40:54Zv5.1.5BolajiOlajidetag:github.com,2008:Repository/676753623/v5.1.5-rc.12023-07-26T18:28:54Zv5.1.5-rc.1BolajiOlajidetag:github.com,2008:Repository/676753623/v5.1.42023-07-17T23:07:39Zv5.1.4camdencheektag:github.com,2008:Repository/676753623/v5.1.4-rc.12023-07-17T17:52:19Zv5.1.4-rc.1camdencheektag:github.com,2008:Repository/676753623/v5.1.32023-07-12T23:31:11Zv5.1.3camdencheektag:github.com,2008:Repository/676753623/v5.1.3-rc.12023-07-12T22:38:24Zv5.1.3-rc.1camdencheektag:github.com,2008:Repository/676753623/app-v2023.7.11+1384.7d20a90ce72023-07-11T15:59:22Zapp-v2023.7.11+1384.7d20a90ce7: graphqlbackend: update throttled to use Ctx stores (#54748)<p>graphqlbackend: update throttled to use Ctx stores (<a class="issue-link js-issue-link" href="https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/54748">sourcegraph#54748</a>)</p>
<p>It seems we were using a weird version of throttled which I don't think
<br />was actually based on the v2 series correctly. This updates us to the
<br />latest version and moves us away from the removed struct GCRARateLimiter
<br />and the deprecated interface GCRAStore.</p>
<p>I came across this while attempting to update deps and getting failing
<br />compiles.</p>
<p>Test Plan: we have unit tests for this, so CI.</p>keegancsmithtag:github.com,2008:Repository/676753623/app-v2023.7.5+1333.e2d4e003e02023-07-05T21:37:06Zapp-v2023.7.5+1333.e2d4e003e0: cody-gateway/events: do not let bufferedLogger.Stop time out (#54598)<p>cody-gateway/events: do not let bufferedLogger.Stop time out (<a class="issue-link js-issue-link" href="https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/54598">sourceg…</a></p>
<p><a class="issue-link js-issue-link" href="https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/54598">…raph#54598</a>)</p>
<p>We want to make sure we ~never drop anything, so let's just allow
<br />buffered events logger to work for longer to process all events.</p>
<p>## Test plan</p>
<p>n/a</p>bobheadxitag:github.com,2008:Repository/676753623/app-v2023.7.4+1332.fc76a9c6752023-07-04T20:06:33Zapp-v2023.7.4+1332.fc76a9c675: app: resolve port :9000 conflicts (change to :49000) (#54466)<p>app: resolve port :9000 conflicts (change to :49000) (<a class="issue-link js-issue-link" href="https://github.com/sourcegraph/sourcegraph-public-snapshot/pull/54466">sourcegraph#54466</a>)</p>
<p>Apparently VS Code's Python support uses port 9000, so as long as we use
<br />it most VS Code Python devs can't run the app due to the port conflict
<br />with our services.</p>
<p>This PR switches the app's blobstore to listen on `:49000` instead of
<br />`:9000`. My thinking for now is that we can centralize all "default
<br />endpoint" and "what host/port should I listen on?" into the `deploy`
<br />package, and for now just change ports to have a `4` in front of them to
<br />reduce the change of conflicts.</p>
<p>Later, once we have them centralized in the `deploy` package we can
<br />easily modify that code to pick an unavailable port.</p>
<p>This also binds blobstore to `127.0.0.1` (more secure), previously it
<br />was bound to `localhost`.</p>
<p>## Test plan</p>
<p>To test this I did the following:</p>
<p>1. [x] Methodically searched our codebase for `9000` and vetted each
<br />instance, to ensure I didn't miss anything.
<br />2. [x] Tested with `sg start app` and confirmed `sudo lsof -i -P | grep
<br />LISTEN | grep :9000` reported nothing while `sudo lsof -i -P | grep
<br />LISTEN | grep :49000` did.
<br />3. [x] Created an app build with `./enterprise/dev/app/build.sh` and
<br />tested it:
<br />* [x] Confirmed embeddings generation (which get stored in blobstore)
<br />still works through the setup wizard
<br />4. [x] Confirmed `sg start enterprise-codeintel` starts and runs</p>
<p>Signed-off-by: Stephen Gutekanst <[email protected]></p>tag:github.com,2008:Repository/676753623/v5.1.22023-07-03T19:33:47Zv5.1.2davejrt