Skip to content

Fixing cookstyle PR check introduced in PR#622 to unblock the auto release#651

Merged
Stromweld merged 1 commit into
test-kitchen:mainfrom
mayankgupta57:mayankgupta57-patch-1
Jan 22, 2026
Merged

Fixing cookstyle PR check introduced in PR#622 to unblock the auto release#651
Stromweld merged 1 commit into
test-kitchen:mainfrom
mayankgupta57:mayankgupta57-patch-1

Conversation

@mayankgupta57
Copy link
Copy Markdown
Contributor

@mayankgupta57 mayankgupta57 commented Jan 22, 2026

3s
Run bundle exec cookstyle --chefstyle
Inspecting 21 files
...................C.

Offenses:

Error: lib/kitchen/driver/ec2.rb:589:56: C: [Correctable] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. (https://rubystyle.guide#consistent-string-literals)
output = server.console_output.output || ''
^^

21 files inspected, 1 offense detected, 1 offense autocorrectable Error: Process completed with exit code 1.

PR which introduced the failure: https://github.com/test-kitchen/kitchen-ec2/pull/622/files
Error: https://github.com/test-kitchen/kitchen-ec2/actions/runs/20807432531/job/59764381382?pr=650

Description

Please describe what this change achieves

Issues Resolved

List any existing issues this PR resolves, or any Discourse or
StackOverflow discussions that are relevant

Type of Change

Our release process assumes you are using Conventional Commit messages.

The most important prefixes you should have in mind are:

  • _fix_: which represents bug fixes, and correlates to a SemVer patch.
  • _feat_: which represents a new feature, and correlates to a SemVer minor.
  • _feat!_:, or fix!:, refactor!:, etc., which represent a breaking change (indicated by the !) and will result in a major version change.

If you have not included a conventional commit message this can be fixed on merge.

Check List

3s
Run bundle exec cookstyle --chefstyle
Inspecting 21 files
...................C.

Offenses:

Error: lib/kitchen/driver/ec2.rb:589:56: C: [Correctable] Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. (https://rubystyle.guide#consistent-string-literals)
              output = server.console_output.output || ''
                                                       ^^

21 files inspected, 1 offense detected, 1 offense autocorrectable
Error: Process completed with exit code 1.

https://github.com/test-kitchen/kitchen-ec2/pull/622/files

Signed-off-by: mayankgupta57 <mayank.g57@gmail.com>
@mayankgupta57 mayankgupta57 changed the title Fixing cookstyle PR check introduced in PR#622 Fixing cookstyle PR check introduced in PR#622 to unblock the auto release Jan 22, 2026
@mayankgupta57
Copy link
Copy Markdown
Contributor Author

@damacus Can you please help with the release of latest version. We need the latest release for ssm session manager feature.

@Stromweld Stromweld merged commit 1e319c8 into test-kitchen:main Jan 22, 2026
6 checks passed
@mayankgupta57 mayankgupta57 deleted the mayankgupta57-patch-1 branch January 22, 2026 15:49
@damacus
Copy link
Copy Markdown
Contributor

damacus commented Jan 22, 2026

Screenshot_20260122-161916.png

Not sure how this got missed in your PR.

Can you create a new pr with this information please. Otherwise the release system won't know what to release.

@Stromweld
Copy link
Copy Markdown
Contributor

I was able to fix that in the squash merge I added the fix: prefix. release please updated release PR for the added changes. since it wasn't published yet it didn't bump the version a second time.

@Stromweld
Copy link
Copy Markdown
Contributor

This is released and in https://rubygems.org/gems/kitchen-ec2

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