Skip to content

fix(root): use unprotected roles for AI inference - #10169

Merged
zahin-mohammad merged 2 commits into
masterfrom
fix/ai-inference-role-public-repo
Nov 11, 2026
Merged

zahin-mohammad merged 2 commits into
masterfrom
fix/ai-inference-role-public-repo

Conversation

@zahin-mohammad

@zahin-mohammad zahin-mohammad commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Migrate both Claude and dependency-maintenance workflows to the same credential flow as advanced-wallets #299. The protected repository role is denied access to the Bedrock model-service role. Failed job.

Use the repository's unprotected Amazon Web Services (AWS) role and ai-inference. Pin both credential steps to configure-aws-credentials v6.3.0, obtain Bedrock credentials with role chaining and session tagging disabled, and let the Claude steps inherit the exported credentials. Remove the obsolete manual credential helper and output references.

Existing triggers, member/owner checks, permissions, checkout, prompts, tools, model selection and timeouts are preserved. The pruning note and error message receive only the correction needed for the environment-based workflow identity.

Validation on Node 24.22.1:

node node_modules/mocha/bin/mocha.js './scripts/tests/**/*.test.js' --reporter dot
46 passing (12s)

Both changed workflows pass actionlint and Prettier checks; JavaScript syntax and git diff --check pass. Live AWS authentication has not been tested. Ensure ai-inference exists and its deployment rules permit the existing workflow triggers before enabling the migration.

Ticket: INF-5300

Comment thread scripts/tests/claude-pr.test.js Resolved
@zahin-mohammad
zahin-mohammad force-pushed the fix/ai-inference-role-public-repo branch from aa32c70 to cf8738c Compare November 11, 2026 19:03
@zahin-mohammad
zahin-mohammad force-pushed the fix/ai-inference-role-public-repo branch from cf8738c to e11b159 Compare November 11, 2026 19:07
@zahin-mohammad zahin-mohammad changed the title fix(root): migrate AI workflows to inference credentials fix(root): use unprotected roles for AI inference Nov 11, 2026
@zahin-mohammad
zahin-mohammad marked this pull request as ready for review November 11, 2026 19:08
@zahin-mohammad
zahin-mohammad requested review from a team as code owners November 11, 2026 19:08

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@zahin-mohammad
zahin-mohammad merged commit d5437f4 into master Nov 11, 2026
24 checks passed
@linear-code

linear-code Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

WAL-2483

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.

3 participants