Skip to content

Fix bootstrap diagnostics for ambiguous metadata files - #2621

Open
gibkim wants to merge 1 commit into
aws:masterfrom
gibkim:fix/bootstrap-ambiguous-metadata-diagnostics
Open

gibkim wants to merge 1 commit into
aws:masterfrom
gibkim:fix/bootstrap-ambiguous-metadata-diagnostics

Conversation

@gibkim

@gibkim gibkim commented Nov 22, 2026

Copy link
Copy Markdown

Issue #, if available:

Fixes #1430.

Description of changes:

When the expected assembly metadata is absent, distinguish multiple .deps.json or .runtimeconfig.json candidates from missing files. Preserve exact-name preference, single-file fallback and exit codes 105/106.

Add 18 bootstrap shell cases covering both nullglob modes and invoke them from the existing Linux unit-test entry point. Include the RuntimeSupport Patch change file.

Validation: all 18 shell cases pass; the original script fails 6. Independent review also checked 64 contract cases. Tests ran on macOS Bash with GNU expr and an argv-capture wrapper; native Linux CI, full .NET tests and actual .NET startup were not run.

AI assistance: Codex/GPT-6.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Report multiple dependency or runtime configuration files separately
from missing files while preserving selection and exit codes.
Add bootstrap regression checks to the Linux unit test entry point.

Fixes aws#1430

Assisted-by: Codex/GPT-6
@gibkim
gibkim requested review from a team as code owners November 22, 2026 01:52

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When a dotnet lambda zip package contains more than 1 .deps file, the error printed is misleading

2 participants