Skip to content

feature: Load workspace build logs from streaming #1997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 3, 2022
Prev Previous commit
Next Next commit
Remove unused comment
  • Loading branch information
BrunoQuaresma committed Jun 2, 2022
commit ec8c0880e65ad3115655ba6784a98a5a5cad181b
1 change: 0 additions & 1 deletion site/src/pages/WorkspaceBuildPage/WorkspaceBuildPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const useBuildId = () => {

export const WorkspaceBuildPage: FC = () => {
const buildId = useBuildId()
// We can initialize logs as an empty array because it will be a stream
const [buildState] = useMachine(workspaceBuildMachine, { context: { buildId } })
const { logs, build } = buildState.context
const isWaitingForLogs = !buildState.matches("logs.loaded")
Expand Down