Skip to content

fix(storage): add SSM adapter diagnostics - #5385

Merged
edersonbrilhante merged 1 commit into
mainfrom
ssm-storage-adapter-diagnostics
Sep 8, 2026
Merged

fix(storage): add SSM adapter diagnostics#5385
edersonbrilhante merged 1 commit into
mainfrom
ssm-storage-adapter-diagnostics

Conversation

@edersonbrilhante

Copy link
Copy Markdown
Contributor

Description

Adds structured diagnostics at the asynchronous AWS SSM storage adapter boundaries. A shared logger factory attaches the canonical aws_ssm provider identity while each adapter keeps its own module name.

Runner-config read and delete failures now preserve their original causes, retryable polling misses remain debug-level events, and terminal failures include bounded error-name chains. Credential values, private keys, Base64 contents, and stored runner configuration values are intentionally excluded from logs. Direct SSM consumer tests now pass only the SSM-specific configuration instead of the generic provider-selection field.

This PR is stacked on #5359.

Test Plan

  • Ran the storage-provider test suite: 9 files and 74 tests passed.
  • Ran the storage-provider TypeScript type-check.
  • Ran ESLint for lambdas/libs/storage-providers.
  • Ran Prettier check for storage-provider TypeScript files.
  • Ran git diff --check and a focused sensitive-log-field scan.

Related Issues

@edersonbrilhante
edersonbrilhante requested a review from a team as a code owner September 7, 2026 12:52
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@edersonbrilhante
edersonbrilhante marked this pull request as draft September 7, 2026 13:39
@edersonbrilhante edersonbrilhante added javascript Pull requests that update Javascript code storage-provider labels Sep 7, 2026
@edersonbrilhante
edersonbrilhante marked this pull request as ready for review September 7, 2026 13:54

@guicaulada guicaulada left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! Minor comment about the credentials cache from #5359

@edersonbrilhante
edersonbrilhante force-pushed the ssm-storage-adapter-diagnostics branch from 9eda60e to 3bebc2d Compare September 8, 2026 14:29
@edersonbrilhante
edersonbrilhante force-pushed the ssm-storage-adapter-diagnostics branch from 3bebc2d to 15ff745 Compare September 8, 2026 17:29
guicaulada
guicaulada previously approved these changes Sep 8, 2026
@edersonbrilhante
edersonbrilhante force-pushed the ssm-storage-adapter-diagnostics branch from 15ff745 to 5824918 Compare September 8, 2026 19:42
@edersonbrilhante
edersonbrilhante force-pushed the ssm-storage-adapter-diagnostics branch from 5824918 to fa61592 Compare September 8, 2026 19:46
@edersonbrilhante
edersonbrilhante force-pushed the ssm-storage-adapter-diagnostics branch from fa61592 to 77402d6 Compare September 8, 2026 19:48
@edersonbrilhante
edersonbrilhante force-pushed the ssm-storage-adapter-diagnostics branch from 77402d6 to 6697108 Compare September 8, 2026 19:54
Base automatically changed from runner-config-storage-selection to main September 8, 2026 19:56
@edersonbrilhante
edersonbrilhante force-pushed the ssm-storage-adapter-diagnostics branch from 6697108 to 72580d1 Compare September 8, 2026 19:56
@edersonbrilhante
edersonbrilhante merged commit d08be31 into main Sep 8, 2026
7 checks passed
@edersonbrilhante
edersonbrilhante deleted the ssm-storage-adapter-diagnostics branch September 8, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants