Skip to content
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

api: Log the full pull payload for debugging #2151

Merged
merged 3 commits into from
Apr 29, 2024

Conversation

victorges
Copy link
Member

What does this pull request do? Explain your changes. (required)

This is to facilitate debugging of the /pull API behavior by logging the full payload received
(after redacting some stuff like pull source and multistream targets etc)

Specific updates (required)

Create a redacted payload to log and log it.

How did you test each of these updates (required)

Non-functional change.
yarn test already catches if there's anything fatal with the log, given there are tests for the endpoint.

Does this pull request close any open issues?

Facilitates debugging issues.

Checklist

  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@victorges victorges requested a review from a team as a code owner April 29, 2024 11:38
Copy link

vercel bot commented Apr 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
livepeer-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 29, 2024 2:47pm

Copy link
Member

@gioelecerati gioelecerati left a comment

Choose a reason for hiding this comment

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

lgtm

@victorges victorges merged commit 0ba6c69 into master Apr 29, 2024
8 of 9 checks passed
@victorges victorges deleted the vg/chore/log-pull-payload branch April 29, 2024 14:44
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.

None yet

2 participants