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

get fails: grpc string contains invalid UTF-8 character #128

Open
braunsonm opened this issue Jan 31, 2024 · 0 comments · May be fixed by #129
Open

get fails: grpc string contains invalid UTF-8 character #128

braunsonm opened this issue Jan 31, 2024 · 0 comments · May be fixed by #129
Labels

Comments

@braunsonm
Copy link

Describe the bug

I'm trying to use this resource to get a Github Release which I think contains a UTF-8 character (right-arrow)

The error I get during the get is:

set label: grpc: error while marshaling: string field contains invalid UTF-8: unknown

The configuration of the github release module is:

  - name: knative-operator
    type: github-release
    icon: github
    check_every: 24h
    source:
      owner: knative
      repository: operator
      access_token: ((github_access_token))

...

- get: knative-operator
  trigger: true
  params:
    globs:
      - knative-operator-*.tgz

Reproduction steps

  1. Create a pipeline as described above
  2. Run it
  3. See the error in the get step

Expected behavior

The get operation should complete successfully. Or a way to disable the body label.

Additional context

I think this might be coming from the Github Release body containing an arrow. The release in question is here: https://github.com/knative/operator/releases/tag/knative-v1.13.0

@braunsonm braunsonm added the bug label Jan 31, 2024
@braunsonm braunsonm changed the title get string contains invalid UTF-8 character get fails: grpc string contains invalid UTF-8 character Jan 31, 2024
@braunsonm braunsonm linked a pull request Feb 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant