Skip to content

feat: add startup script logs to the ui - #6558

Merged
kylecarbs merged 34 commits into
mainfrom
startuplogs
Mar 23, 2023
Merged

kylecarbs merged 34 commits into
mainfrom
startuplogs

Conversation

@kylecarbs

@kylecarbs kylecarbs commented Mar 10, 2023 •

Copy link
Copy Markdown
Member

Courtesy of @code-asher

Todo

  • Purge old logs periodically
  • Fix storybook

@kylecarbs kylecarbs self-assigned this Mar 10, 2023
Comment thread agent/agent.go Resolved
Comment thread agent/agent.go Outdated
Comment on lines +690 to +693
if flushLogsTimer != nil {
flushLogsTimer.Reset(100 * time.Millisecond)
return
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why do we reset the timer here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

debounce baby. i'll add a comment

Comment thread coderd/workspaceagents.go Resolved
Comment thread agent/agent.go Resolved
Comment thread agent/agent.go Resolved
@kylecarbs
kylecarbs marked this pull request as ready for review March 18, 2023 17:38
@kylecarbs
kylecarbs force-pushed the startuplogs branch 2 times, most recently from a559240 to 144fd17 Compare March 23, 2023 04:37
@kylecarbs
kylecarbs enabled auto-merge (squash) March 23, 2023 04:47
@kylecarbs
kylecarbs disabled auto-merge March 23, 2023 04:54
@kylecarbs
kylecarbs merged commit cb73754 into main Mar 23, 2023
@kylecarbs
kylecarbs deleted the startuplogs branch March 23, 2023 19:09
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants