Skip to content

feat: add README parsing to template versions#1500

Merged
coadler merged 4 commits into
mainfrom
colin/template-version-description
May 17, 2022
Merged

feat: add README parsing to template versions#1500
coadler merged 4 commits into
mainfrom
colin/template-version-description

Conversation

@coadler
Copy link
Copy Markdown
Contributor

@coadler coadler commented May 17, 2022

Resolves: #1492

image

@coadler coadler self-assigned this May 17, 2022
@coadler coadler force-pushed the colin/template-version-description branch 2 times, most recently from 95198b9 to 61d3729 Compare May 17, 2022 00:42
@coadler coadler requested a review from a team as a code owner May 17, 2022 00:42
@coadler coadler requested a review from kylecarbs May 17, 2022 00:42
Copy link
Copy Markdown
Member

@kylecarbs kylecarbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few minor naming things, but LGTM!

Comment thread provisionerd/provisionerd.go
Comment thread provisionerd/provisionerd.go
Comment thread provisionerd/provisionerd.go Outdated
Comment thread provisionerd/provisionerd.go Outdated
Comment thread codersdk/templateversions.go Outdated
@coadler coadler force-pushed the colin/template-version-description branch from b834d0b to 759b362 Compare May 17, 2022 19:18
@coadler coadler merged commit 98ccd0e into main May 17, 2022
@coadler coadler deleted the colin/template-version-description branch May 17, 2022 20:00
ibetitsmike added a commit that referenced this pull request Apr 26, 2026
`tryAutoPromoteQueuedMessage` in `processChat`'s deferred cleanup could
set a chat back to `pending` without waking the processor. The processor
only noticed on the next 10ms poll, so under load tests like
`TestAutoPromoteQueuedMessageFallsBackForInvalidQueuedModelConfigID`
could time out waiting for the second streaming request (#1500).

Call `p.signalWake()` after the promoted-message publishes when
`promotedMessage != nil`, matching the pattern used by `CreateChat`,
`SendMessage`, `EditMessage`, `PromoteQueued`, and `InterruptChat`. Make
the regression helper `testAutoPromoteQueuedMessageFallback`
deterministic by setting `PendingChatAcquireInterval = time.Hour` and
synchronizing on a `secondRunStarted` channel instead of polling
`requestCount`, so the test fails without the wake instead of relying on
the 10ms ticker.

Closes coder/internal#1500

> Mux is acting on Mike's behalf.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feat: Add README parsing to template versions

3 participants