Skip to content

Commit e040789

Browse files
ci: skip anthropic instrumentation on JRuby CI (#2190)
fix: skip anthropic instrumentation on JRuby CI The anthropic gem v1.31.0 has a JRuby load-order bug where Anthropic::Beta is not yet defined when referenced by BetaManagedAgentsFileResourceParams, causing NameError. This adds anthropic to the existing JRuby skip list, following the same pattern used for other JRuby-incompatible instrumentations. Closes #2187 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ebc98e0 commit e040789

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci-instrumentation-full.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ jobs:
158158
[[ "${{ matrix.gem }}" == "rails" ]] && echo "skip=true" >> $GITHUB_OUTPUT
159159
[[ "${{ matrix.gem }}" == "grpc" ]] && echo "skip=true" >> $GITHUB_OUTPUT
160160
[[ "${{ matrix.gem }}" == "gruf" ]] && echo "skip=true" >> $GITHUB_OUTPUT
161+
[[ "${{ matrix.gem }}" == "anthropic" ]] && echo "skip=true" >> $GITHUB_OUTPUT
161162
[[ "${{ matrix.gem }}" == "net_ldap" ]] && echo "skip=true" >> $GITHUB_OUTPUT
162163
# This is essentially a bash script getting evaluated, so we need to return true or the whole job fails.
163164
true

0 commit comments

Comments
 (0)