⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@patrick91
Copy link
Collaborator

Summary

  • Make the value field optional in EnvironmentVariable model
  • The API does not return a value field for secret environment variables, causing a Pydantic validation error

Test plan

  • Added test case for secret env vars without a value field
  • All existing tests pass

The API does not return a `value` field for secret environment variables.
This caused a Pydantic validation error when listing env vars.

Make the `value` field optional to handle this case.
@patrick91 patrick91 added the bug Something isn't working label Jan 13, 2026
Copy link
Member

@savannahostrowski savannahostrowski left a comment

Choose a reason for hiding this comment

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

LGTM!

@patrick91 patrick91 merged commit 70f7b5b into main Jan 13, 2026
18 of 19 checks passed
@patrick91 patrick91 deleted the fix-env-list-secret-variables branch January 13, 2026 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants