Skip to content

Commit 65f08fb

Browse files
authored
Merge branch 'main' into jaaydenh/dynamic-params-beta-badge
2 parents 4823c59 + de07351 commit 65f08fb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

agent/agentssh/agentssh.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ func (s *Server) sessionHandler(session ssh.Session) {
454454

455455
x11, hasX11 := session.X11()
456456
if hasX11 {
457-
display, handled := s.x11Handler(session.Context(), x11)
457+
display, handled := s.x11Handler(ctx, x11)
458458
if !handled {
459459
logger.Error(ctx, "x11 handler failed")
460460
closeCause("x11 handler failed")
@@ -973,7 +973,7 @@ func (s *Server) handleConn(l net.Listener, c net.Conn) {
973973
return
974974
}
975975
defer s.trackConn(l, c, false)
976-
logger.Info(context.Background(), "started serving connection")
976+
logger.Info(context.Background(), "started serving ssh connection")
977977
// note: srv.ConnectionCompleteCallback logs completion of the connection
978978
s.srv.HandleConn(c)
979979
}

coderd/database/dbmem/dbmem.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8500,7 +8500,7 @@ func (q *FakeQuerier) HasTemplateVersionsWithAITask(_ context.Context) (bool, er
85008500
defer q.mutex.RUnlock()
85018501

85028502
for _, templateVersion := range q.templateVersions {
8503-
if templateVersion.HasAITask {
8503+
if templateVersion.HasAITask.Valid && templateVersion.HasAITask.Bool {
85048504
return true, nil
85058505
}
85068506
}

0 commit comments

Comments
 (0)