OrcaBus / OrcaBus/platform-cdk-constructs

resolveStageName function is a difficult task

Open
#46 0 comments 0 reactions 1 assignee View on GitHub

@alexiswl is already working on this.

Since Jun 5, 2025.

Dominant language
Python
Stars
0
Forks
0
Avg merge
17h 15m
Merged PRs (30d)
12

Description

While the Stack.of(this).account will work to get the correct stage name in most circumstances, the test suite does not have an account context and this variable will use a token instead. This means that the resolveStageName function will fail.

Few proposals.

  1. OrcaBus stack construct that has stageName as an attribute,
  2. We continue with the current hacky way
  3. Update the test suite so it's as if it's running within an account

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.