Skip to content

Drop Cdo wrapper from AWS::DeviceFarm module#73382

Open
davidsbailey wants to merge 1 commit into
stagingfrom
fix-cdo-aws-device-farm-module-name
Open

Drop Cdo wrapper from AWS::DeviceFarm module#73382
davidsbailey wants to merge 1 commit into
stagingfrom
fix-cdo-aws-device-farm-module-name

Conversation

@davidsbailey

Copy link
Copy Markdown
Member

device_farm.rb declared module Cdo; module AWS; module DeviceFarm, breaking repo convention of declaring top-level module AWS. Collapse to module AWS; module DeviceFarm to match.

device_farm.rb was the only file creating a Cdo::AWS namespace, so its removal lets two now-unnecessary ::AWS scope-resolution operators in playwright_report.rb fall back to the bare AWS

The SDK's ::Aws::DeviceFarm references (case-distinct, lowercase) stay explicit and untouched.

Testing story

  • drone run covers changes to device_farm.rb and playwright_report.rb

device_farm.rb declared `module Cdo; module AWS; module DeviceFarm`,
out of step with its siblings cloud_formation.rb, ec2.rb, s3.rb, and
cloudfront.rb, which all declare a top-level `module AWS`. Collapse to
`module AWS; module DeviceFarm` to match.

device_farm.rb was the only file creating a Cdo::AWS namespace, so its
removal lets two now-unnecessary `::AWS` scope-resolution operators in
playwright_report.rb fall back to the bare `AWS` (which resolves to the
top-level module from inside `module Cdo`); the comments explaining the
defense go with them. connect.rb's callers move from Cdo::AWS::DeviceFarm
to AWS::DeviceFarm, matching the AWS::EC2 reference already in that file.

The SDK's `::Aws::DeviceFarm` references (case-distinct, lowercase) stay
explicit and untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@davidsbailey davidsbailey marked this pull request as ready for review June 22, 2026 18:51
@davidsbailey davidsbailey requested a review from sureshc June 22, 2026 18:51
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.

1 participant