Skip to content

chore: pin GHA by commit, switch to golangci-lint#651

Open
davidzhao wants to merge 1 commit intomainfrom
dz/pin-gha-commit
Open

chore: pin GHA by commit, switch to golangci-lint#651
davidzhao wants to merge 1 commit intomainfrom
dz/pin-gha-commit

Conversation

@davidzhao
Copy link
Copy Markdown
Member

@davidzhao davidzhao commented Apr 12, 2026

also fixed lint issues

@davidzhao davidzhao requested a review from a team as a code owner April 12, 2026 21:14
missingFrameCount := 2
nextTimestamp += uint32(missingFrameCount) * tsPerFrame
nextSeq, nextTimestamp, err = tester.SendSignalFrames(5, nextSeq, nextTimestamp)
_, _, err = tester.SendSignalFrames(5, nextSeq, nextTimestamp)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks like a false positive


func (c *sipInbound) Accept(ctx context.Context, sdpData []byte, headers map[string]string) error {
ctx, span := Tracer.Start(ctx, "sip.inbound.Accept")
_, span := Tracer.Start(ctx, "sip.inbound.Accept")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's better not to change these. Context should be replaced when creating a new span. And someone will definitely forget to undo this change when passing context to the next function.

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.

2 participants