denoland / denoland/deploy_feedback

[Bug]: Backup configuration doesn't trim trailing white space

Open
#816 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
79
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### Problem description

When trying to set up Deno KV backups to Google Cloud Storage, Google's interface for generating access tokens includes a single trailing space at the end of the access key:

Image

When pasting this into Deno, it can be easy to miss this trailing white space, resulting in the backup failing.

### Steps to reproduce

1. Set up a backup configuration for Deno KV
2. Add a trailing whitepsace to the access key
3. Observe the backup fails

### Expected behavior

Forms that accept copy/pasted tokens should trim leading and trailing white space.

### Environment

_No response_

### Possible solution

_No response_

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin at the Deno KV backup configuration form and reproduce the issue by entering an access key with trailing whitespace. Trace how the credential is accepted and used, then verify that a backup succeeds when the key is pasted with leading or trailing whitespace.

Written by the indexing model from the issue text.

Assessment

Tech stack
google-cloud
Domain
cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.