Skip to content

used regex to ensure env is filled out#5356

Merged
Bubballoo3 merged 2 commits into
masterfrom
bug-fix/empty-env-var-error-5335
May 19, 2026
Merged

used regex to ensure env is filled out#5356
Bubballoo3 merged 2 commits into
masterfrom
bug-fix/empty-env-var-error-5335

Conversation

@clooty217
Copy link
Copy Markdown
Contributor

fixes #5335

changed a string lookup to only select if the param key has data after auto_environment_variable
tested by creating a new launcher and trying to reproduce the bug in the original issue.
ran project manager tests

@Bubballoo3
Copy link
Copy Markdown
Contributor

This looks good, but since the change itself isn't very self explanatory it might be good to add a test that demonstrates the original bug to ensure this stays fixed

@clooty217 clooty217 force-pushed the bug-fix/empty-env-var-error-5335 branch from 71c3e0a to 27adee2 Compare May 8, 2026 14:49
@Bubballoo3
Copy link
Copy Markdown
Contributor

Thanks so much for the tests Trevor!

@Bubballoo3
Copy link
Copy Markdown
Contributor

I am going to explore if we can add validation in the javascript to provide some warning instead of just saving the form without the malformed variable. But I am happy to take this over since today is Trevor's last day.

@Bubballoo3 Bubballoo3 self-assigned this May 8, 2026
@Bubballoo3 Bubballoo3 merged commit 0cb79fd into master May 19, 2026
47 of 51 checks passed
@Bubballoo3 Bubballoo3 deleted the bug-fix/empty-env-var-error-5335 branch May 19, 2026 16:12
@github-project-automation github-project-automation Bot moved this from Awaiting Review to Merged/Closed in PR Review Pipeline May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Merged/Closed

Development

Successfully merging this pull request may close these issues.

multiple empty environment variables in launch edit causes error

3 participants