►
From YouTube: Code Review Weekly Workshop - Aug 4, 2023
Description
In this session we pair up on a code review!
- https://gitlab.com/gitlab-org/gitlab/-/merge_requests/127921
A
Okay,
cool
all
right:
we've
got
some
merge,
requests
to
review
on
the
code
review
weekly
Workshop
I'm,
going
to
share
my
screen
as
we
look
at
this
merge
request,
which
is
related
and
possibly
offered
by
Marco
cool
all
right
yeah.
Let's
check
it
out,
it
looks
like
there's
some
comments
already
here:
I'm
gonna
scroll
up
to
get
the
full
context.
A
Changes
new
failed
jobs
card,
oh
I
saw
this
coming
to
my
email.
I
saw
a
failed
Pipeline
and
that
just
stuck
out
to
me,
I
was
like.
Oh
man,
do
I
have
another
failed
pipeline,
but
then
I
realized
oh
wait.
This
is
a
merger
Quest
titled
failed
pipeline
to
show
a
border
only
when
hovered
and
changes
the
text
from
show
failed
jobs
to
hide
failed
jobs.
Oh
interesting,
all
right,
let
me
see
if
I
can
compare
the
before
and
after
pretty
pretty
well
sometimes
it's
hard
for
me
to
Spot
the
Difference.
A
B
B
A
Little
this
this,
the
okay
yeah
cool,
let's
check
it
out
cool
and
you're
being
ux.
A
A
Know
I
know:
I'm
typos
are
are
humorous
from
time
to
time:
cool
yeah,
oh
wait,
class,
hyper
class
class.
A
This
is
an
interesting
suggestion.
Let
me
let
me
pull
the
whole.
Let
me
pull
the
whole
Mr
down
locally,
so
I
can
read
the
diff
better,
but
I
get
I,
see
where
Archer
is
coming
from.
C
A
Oh
I
probably
need
to.
Let
me
see
what
branch
it
yeah
I
need
to
go
to.
A
A
A
I'm
gonna
try
to
move
the
chat
up
to
yes,
my
my
goal
is
to
get
it
merged
in
this
call.
Marco
Let's
Do
It,
but
that
comment
is
interesting
because
a
not
and
not
assertion
is
a
lot
weaker
than
in
than
a
equals,
a
search
because
I,
don't
think
flaky
is
the
right
word
like
it's
gonna
fail
a
lot,
but
it's
gonna
pass
a
lot,
but
it's
nice
that
we
have
a
mirroring
assertion
of
here
is
where
we
do
check.
A
If
it
contains
this
thing
and
then
yeah
here
is
where
we
check
that
it
doesn't
contain
that
thing,
the
only
thing
I
can
think
would
be
I
think
it's
fine
I
have
a
tendency
to
prefer
two
equals
assertions
but
I
think
in
this
case
it
makes
sense,
especially
since
it's
paired
later
on
with
this
one.
A
But
what
do
you?
What
do
you
think
Yannick
of.
B
I'm
I'm
I
tend
to
agree
I'm,
just
still
processing
what
you
just
said.
So,
if
I
hear
you
correctly
expect
not
to
contain
is
weaker
than
two
contains
is
false.
Does
that
make
sense,
and
is
that
right
because.
A
So
we
have
had
tests
that
seem
to
do
things,
but
actually
did
nothing
because
the
value
here
this
is
one
of
just
one
of
the
cases,
but
the
value
here
was
actually
something
that
would
never
possibly
be
in
it.
Okay,.
A
B
B
I,
don't
have
an
idea
then,
or
anything
I
feel
like
can
I
see
the
the
actual
test
once
more
or
the
the
actual
diff
of
the
yeah
yeah.
Here
we
go
so
it
says
not
contain
defaultprops.job.
What
about
the
the
YouTube
okay,
so
that
is.
That
is
definitely
something
that
I
would
address.
B
A
And-
and
they
are
obviously
okay
cool
yeah,
then
then
yeah
then
I'm,
good
and
I
I.
Think
that's
to
me!
That's
why
I
feel
like
yeah,
it's
it's
all
right,
because
we're
doing
it
that
way!
Okay,
Marco,
has
a
comment
on
the
chat,
the
test
below
that.
Oh
testing,
that,
yes,
yes,
yes,
yes!
Yes,
this
test
is
checking
that
value
that
we
can
definitely
check.
It
is
yes,
yes,
yes,
yes,
yes,
yes,
yeah
I,
think
yeah.
B
And
honestly,
we
would
probably
be
F
like
the
does
not
render
anything
classes.
Absolutely.
Okay,
I
am
not
so
sure
if
this
Mr
would
have
come
by
without
this
test,
I
probably
would
have
given
it
somehow,
but
you
know
so.
Yeah
sounds
sounds.
A
A
Okay,
let's
see
how
I
did
it
and
I
see
why
we're
checking
it?
There
I
was
like
yeah
that
makes
sense.
Yeah
I,
like
it
I,
think
it's
good
I'm,
not
too
worried
about
it.
To
me,
the
biggest
thing
I'm
concerned
about
is:
do
we
have
any
fake
tests
like
do
we
have
any
tests
that
are
appearing
to
be
helpful,
but
aren't
help
aren't
actually
doing
their
job
I'm
concerned
about
that?
A
But
then
I'm
concerned
about
when
it
comes
to
tests,
is,
if
I
introduce
a
bug,
will
it
catch
it
and
because
we
have
the
pairing
of
the
test,
I
think
we're
good.
Let's
go
ahead
and
review
this
check
this
out
all
right.
Here's
class
update,
stuff
I'm,
just
gonna
assume
that's
great,
because
those
look
like
utility
classes-
and
this
has
been
ux
approved
and
they
look
fairly
harmless.
A
Here
we
are
calling
in
the
collapse
we
have.
This
is
visible
ID
that
we've
removed.
A
A
A
I
agree:
it's
kind
of
it's
something:
that's
like
yeah
that
that's
seems
more
complicated
than
it
needs
to
be,
but
I
can
understand
where
the
thought
of
like.
Oh,
maybe
we
want
to
do
this
here
and
then
here
we're
just
updating
class.
That
makes
a
lot
of
sense
here
we're
getting
rid
of
the
collapse,
because
this
is
the
whole
yeah
Marco
said
that
that
ID
was
used
to
know
when
the
collapse
is
open
or
closed
and
tests,
but
I
think
we're
handling
it
now,
with
a
no
with
our
own
component
of
collapse.
A
A
Yes,
we
don't
have
any
other
references
to
that.
Do
you
have
any
references
to
this
and
tests
and
stuff?
No
great,
all
right
classes,
we're
adding
of
whether
we're
expanded
or
not.
A
We're
adding
some
font
heaviness
to
this
thing:
I
guess
that's
cool
and
then
we
got
rid
of
the
collapser
here.
Failed
jobs
list
because
now
details
contains
the
CL.
Oh
no,
we
got
rid
of
the
claps
completely.
We
don't
use
collapse
at
all.
I
see
I
see.
So
all
of
these
are
removing
collapse.
A
Okay,
I
see.
Okay,
let
me
go
back
to
you
here.
A
Thinking
about
Paul,
thank
you
for
stopping
me.
My
question
was:
what's
causing
the
accordion
effect,
and
I
guess
is
that
that
VF
that
we
have
here.
B
Yeah
the
information,
the
the
animation
and
that
that
is
what
do
you
do
to
your
collapse
component
was
removed.
So
it's,
but
how
I
read
this:
it's
just
like
a
dynamic
render
on
the.
If.
B
C
A
Yeah
I
I
think
that
that's
I,
think
that
makes
sense
and
I
was
also
when
I
see.
One
thing
that
pops
out
to
me
is
like
when
I
see,
okay,
we've
changed
four
protection
modules
and
we
have
two
unit
test
updates.
I'm
like
wait.
Are
we
missing
some
tests,
but
these
are
just
updating
classes,
I,
don't
know
what
the
end
is
stands
for.
A
B
Let's,
let's
try
the
the
and
the
negative.
B
Like
I
would
be
like
okay
having
this,
this
you
X
approve,
is
good
with
negative
margins.
I
would
really
be
tempted
to
run
this
and
look
if
I
can
avoid
it,
but
maybe
like
there's.
There
are
some
use
cases
where
you
just
have
to
live
in
it.
So
yeah.
C
C
B
B
A
A
All
right
here
we
got
rid
of
this
collapse,
but
over
here,
I
see
I,
see
I
see,
is
expanded,
I
see,
I,
see,
I,
see
and
is
expanded.
Is
that
even
a
prop?
That's
like
coming
into?
No,
it's
still
a
data.
What
updates
is
expanded
here.
A
What
updates
that
this
button
does?
Okay,
okay,.
A
All
right,
let's,
let's
run
start
on
this
just
for
fun,
I'm,
also
going
to
set
a
timer
for
myself.
A
And
that's
the
button
then
that
I
guess
you
could
do
some
expanding
on
for
for
that
button.
All
right.
The
only
other
thing
I
was
curious,
while
we're
waiting
for
the
GDK
to
do
its
thing
is:
where
else
are
these
components
used
make
sure
we're
not
run
into
big
errors?
Nope,
we
don't
seem
to
be
doing
that
so
like
where
else
is
pipeline,
failed
jobs,
widget
used
so
I'm
going
to
go
here
to
to
grab
the
the
names
of
the
components.
A
There
seems
to
be
a
lot
of
pipelines
table
it's
this
pipe.
This
pipelines
list
I
think
this
also
shows
up
in
merge
requests
this
component,
the
pipelines
table
here,
I,
guess
we're
looking
at
oh
yeah.
This
is
we're
already
looking
at
merge
requests,
but
I
think
it
also
shows
up
like
in
the
pipelines
page
as
well.
A
Especially
when
we're
doing
like
negative
margin
stuff,
possibly
all
right,
let's
go.
A
And
both
of
my
daughters
like
to
draw
so
much
that
I've
had
I
purchased
like
150
pencils
at
one
point
and
my
little
pencil
holder
is
completely
empty.
C
A
There's
a
show
for
complete
Pipelines:
does
it
only
show
it
if
there
is
a
failed
jobs?
I,
don't
know,
maybe
it
doesn't
show
it
here.
Let
me
go
back
to
here
where
we're
doing
pipelines.view,
what
all
references
this
thing.
A
I,
don't
know,
let's
see,
oh
okay,
we
got
the
title
titles
coming
in.
B
A
Starts
so
long,
let's
go
here,
we
go
sign
in
come
on.
Give
me
that
cookies,
all
right,
we're
gonna,
find
something
with
failed.
Pipelines,
we're
gonna,
look
at
the
the
shell
project,
I'm,
pretty
sure
it's
gonna
be
here
and
build
somewhere,
but
it
might
not
be,
but
I
think
it
is
going
to
be.
Oh,
it's
so
not.
A
A
B
A
Not
seeing
the
failed
jobs
here,
yep
I,
don't
know
if
we
were
supposed
to
I,
don't
see
it
on.com
and
okay
Maybe,
maybe
it's
it
doesn't
show
it
for
some
reason.
All.
C
A
Me,
the
jobs,
there's
a
feature
flag.
Okay,
oh
we
got
three
minutes
left
it's
not
in
the
setup
feature.
Flags.
A
Really
there's
a
feature
flag:
that's
okay!
Let's
see
if
we
can
find
the
feature
flag
or
Marco
probably
knows
it,
they'll
send
it
pretty
soon.
A
Show
failed
jobs,
widget
should
show
it
here.
We
go
CI
job
failures
and
Mr.
That's
why
it
only
shows
here
very.
B
A
Good
thinking,
unless
we
have
CIA
jobs,
what
was
it
called
again.
A
And
I'm
still
curious,
though
too,
like
what
is
oh,
this
is
when
you're
actually
in
the
failed
jobs
widget
where
you
can
see
the
list
of
them.
So
okay,
this
doesn't
need
the
feature
flag,
because
this
is
only
referenced.
And
yes,
yes,
yes,
yes,
yes,
all
right!
All
is
making
more
sense
now
and
how
interesting,
since
we
made
it
return.
True
it
should
there
we
go
show
also
in
these
other
ones
as
well,
which
is
interesting
all
right.
A
How
how
sad
would
it
be
if
you
know
both
Yannick
and
I
are
like
we
don't
like
it,
we're
just
gonna
close
the
simar.
B
Good
point:
there's
something
I
don't
understand:
we
are
having
a
glml
and
free
on
it
and
a
g-o-m-l-n-4
and
there's
like
no
media
query
whatsoever
attached
to
it.
That's
overriding
itself.
That
is
that's.
A
A
So
all
of
these
classes-
yes,
are
getting
applied,
there's
classes
being
applied
here
and
class
is
being
applied
to
the
roots
on
the
root
animal
yeah,
okay,
I
see
yeah,
yeah,
so
I
think
I
think
we
need
to
get
rid
of
this.
We
should
not
do
margin
classes
at
the
root.
It's
interesting.
B
A
It
doesn't
yeah
exactly
so
I
I
think
we
want
to
get
rid
of
this
one
at
the
root.
A
Okay,
I'm,
sorry
I'm.
We
we
hit
the
snooze
on
that
thing,
all
right.
A
A
C
A
See
all
right,
we
look
like
the
same
yeah.
We
look
like
the
same,
even
though
we've
gotten
rid
of
the
that
one.
We
look
the
same.
Let's
see
what
happens
if
I
get
rid
of
this
one
something's,
making
a
Space
a
little
bit.
Where
is
that
coming
from
and
I?
That's
why
we're
trying
to
line
up
now.
Please
tell
me
we're
not
doing
negative
margins
up
here
too.
Okay,.
B
C
A
A
A
Let's
see
what
happens,
this
thing
is
pushed
over
man
that
is
just
pushed
over.
Oh
I,
didn't
do
it
correctly
still
applying
this
PX3
to
the
header
which
I
thought
I
told
not
to
do
but
I
didn't
save
I
didn't
save
my
file.
Okay,.
A
All
right
yeah,
this
is
starting
to
look
worse,
so
I
think
I've
I
think
that
no
it's
not
even
lined
up
well,
oh
geez,
okay,
but
the
reality
is,
is
that
we
want
so
if
I
go
back
to
this
one,
we
want
this
to
stretch
all
the
way
to
like.
A
So
I
wonder
if
I
wonder
if
it's
possible
to
do
that,
what
is
I
mean
this
pipeline
table
row?
Where
does
that
come
from?
Oh,
we
made
that
up
down
here.
I
think.
A
A
Yeah,
oh,
this
is
the
pipeline
table
row
row
details
template
all
right,
yeah
and
we
might
just
we
might
not
have
any
way
of
doing
this
from
here.
This
might
be
the
way
we
need
to
do
the
negative
margins
like
I'm,
starting
to
think
there's
no
way
for
us
to
set.
A
For
this
specific
cell,
okay,
so
since
at
least
then
the
negative
margins
live
here
right
next
to
tableland.
So
it's
clear.
A
Somewhat
clear
negative
margins
are
needed.
Four
table
stuff,
I,
think
that
that
does
make
sense
and
well
I,
think
I
think
that's
one
of
the
best
ways
we're
gonna
do,
but
we
should
get
rid
of
this
one.
B
A
A
I
think
everything
else
is
okay.
Here
we
just
updated
our
title,
oh,
but
we
are
also
now
conditionally,
adding
some
classes,
so
it'd
be
cool
to
have
a
test
for
that
logic
of
when
we're
expanding.
If
we
can
just
add
the
assertion
that
we're
adding
that
class,
let
me
start
making
notes
on
the
Mr.
A
The
other
thing
I
was
going
to
leave
a
comment
about
was
okay
here,
we're
adding
yeah.
We
just
give
it
a
collapse.
So
here
can
we
add
a
small
assertion
to
our
unit
tests
that
these
classes
are
conditionally
applied.
It's
expanded.
A
Okay,
great,
that
test
was
good
and
then
let
me
check
the
other
one
and
then
we're
good
to
go.
One
I'm
checking
for
coverage
right
now
of
yeah.
This
one
we've
updated
the
job
log.
A
A
A
Couple
of
comments
did
I
leave
them.
Where
are
they
finished
review?
It
says
I
think
I
can
see
it.
I
couldn't
see
it.
B
A
I
could
see
it
being
helpful.
The
negative
margin
stuff
is
isn't
my
favorite,
but
I.
C
B
A
Was
referring
too?
Oh,
the
cement
review
thing
yeah.
Yes,
it's
all
right,
yeah
yeah,
it
has
it's,
it
has
its
quirks
from
time
to
time.
All
in
all,
this
looks
great.
A
All
right
right
on
time
right
on
time,
cool
all
right.
We
did,
we
did
an
MR
and
since
it's
Friday
for
me,
when
Marco
gets
back
to
this
I
don't
have
to
look
at
until
Tuesday
morning.
So
this
is
great
for
me.
I'm
joking
Marco,
I'm,
sorry,
I'll!
Look
at
it
as
soon
as
you
get
back.
Oh
no
they're
coming
Marco
says
they're
coming
now.
A
Well,
that
was
fun.
I,
don't
know.
If
we
have
to
I,
don't
think
we
have
time
for
doing
anything
else,
but
I
think
clearly
the
top
bit
that
spent
the
most
the
the
bit.
That
was
the
longest
in
that
Mr
review,
was
testing
it
out
and
trying
to
get
the
classes.
A
If
there's
another
way
to
do
the
classes
and
that's
why
I
time
boxed
it
if
it
was
going
to
take
too
long-
and
it's
really
easy
for
me
to
spend
an
hour
doing
that,
so
it's
even
just
having
a
reminder
like
hey
ten
minutes
is
up.
Are
you
sure
you
still
want
to
be
doing
the
same
task?
That's
so
helpful
for
me,
but.
B
Absolutely
that
was,
it
was
good
fun
thanks.
So
much
for
all
the
insights
and
yeah
enjoy
the
weekend.
Everybody
I'll
catch.
The
Sip
yeah
thanks
take
care.
Awesome
have
a
good
one.
Bye.