Repository navigation
feat(example): CMR function in the sample app, always tested in PR integration runs - #17
Merged
Merged
Conversation
…t it in PR integration runs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #16. The CMR echo function in the sample app was gated behind `BUN_CMR=1`, which only
release runs set, so no PR exercised `BunFunction` end to end.
Changes
override; without it, `BunFunction` resolves the published runtime for the stack's region, same as
a real user would get.
asset) and sets `BUN_RUNTIME_ARN`/`BUN_RUNTIME_ALIAS` from it, since a PR has no release of its own.
Release runs still resolve the runtime from the region, using the artifacts just published in the
first-region job.
runs.
Verified
simulating the PR flow (`BUN_LAYER_ZIP` + `BUN_RUNTIME_ARN`/`BUN_RUNTIME_ALIAS` from the latest
release): 7/7 pass, including the CMR invoke.
and deployed a bare `BunFunction` with no runtime override. It ran on the real published runtime
(Bun 1.4.5, `RuntimeArn` resolved automatically) and was destroyed after.
earlier `publish-smoke` run.