Skip to content

chore(mozilla_workgroup): improve v1 v2 compatibility#445

Merged
whd merged 2 commits intomainfrom
SVCSE-4008
Mar 4, 2026
Merged

chore(mozilla_workgroup): improve v1 v2 compatibility#445
whd merged 2 commits intomainfrom
SVCSE-4008

Conversation

@whd
Copy link
Member

@whd whd commented Mar 4, 2026

Description

This fixes some longstanding incompatibility issues between v1 and v2 outputs due to BQ ACL and service account output generation by:

  • for BQ: computing the outputs instead of pulling them from remote state
  • for service accounts: return [] if remote state doesn't contain them

This shouldn't change the behavior for any current usage of the module, it should just make some input configuration unnecessary by exposing more information by default and gracefully returning nothing instead of erroring. This has the potential to be confusing to someone who is trying to look up service accounts using the v2 module when those SAs are only defined in v1 but I highly doubt anybody will run into this situation.

Related Tickets & Documents

@whd whd added minor This PR will increment a minor version major This PR will increment a major version and removed minor This PR will increment a minor version labels Mar 4, 2026
@whd
Copy link
Member Author

whd commented Mar 4, 2026

Marking as major because we've never cut a new style release for this module, see https://mozilla-hub.atlassian.net/browse/MZCLD-2140

@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

Release plan

Directory Previous version New version
mozilla_workgroup 0.0.0 1.0.0

Copy link
Contributor

@amitchell-moz amitchell-moz left a comment

Choose a reason for hiding this comment

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

🚀

@whd whd merged commit cc953e0 into main Mar 4, 2026
21 of 26 checks passed
@whd whd deleted the SVCSE-4008 branch March 4, 2026 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major This PR will increment a major version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants