Conversation
WalkthroughA new Changes
Sequence Diagram(s)sequenceDiagram
participant Developer
participant Mergify
participant GitHub
Developer->>Mergify: Open PR
Mergify->>Mergify: Add PR to "Test" queue
Mergify->>Mergify: Wait for batch (up to 10 PRs or 5 min)
Mergify->>GitHub: Run checks (timeout 5 min)
alt Checks pass
Mergify->>GitHub: Merge batch (squash, rebase)
else Checks fail
Mergify->>Mergify: Retry up to 3 times
end
Possibly related PRs
Suggested labels
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Important Cloud Posse Engineering Team Review RequiredThis pull request modifies files that require Cloud Posse's review. Please be patient, and a core maintainer will review your changes. To expedite this process, reach out to us on Slack in the |
|
/terratest |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
.github/mergify.yml (1)
560-560: Add newline at end of file for YAML lint compliance.YAML files should end with a newline to satisfy most linters and editors.
🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 560-560: no new line character at the end of file
(new-line-at-end-of-file)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/mergify.yml(1 hunks)
🧰 Additional context used
🪛 YAMLlint (1.35.1)
.github/mergify.yml
[error] 560-560: no new line character at the end of file
(new-line-at-end-of-file)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: Mergify Merge Protections
- GitHub Check: Mergify Merge Protections
- GitHub Check: Summary
| queue_rules: | ||
| - batch_size: 10 | ||
| batch_max_wait_time: 5 m | ||
| checks_timeout: 5 m | ||
| batch_max_failure_resolution_attempts: 3 | ||
| merge_method: squash | ||
| update_method: rebase | ||
| name: Test No newline at end of file |
There was a problem hiding this comment.
Missing conditions in the queue rule; rule will never match any pull requests.
Mergify’s queue_rules require a conditions block to specify which PRs to enqueue. Without it, this rule won’t be applied. Additionally, consider moving name to the top of the block, quoting string values, and using compact duration formats (5m instead of 5 m).
Apply this diff:
queue_rules:
- - batch_size: 10
- batch_max_wait_time: 5 m
- checks_timeout: 5 m
- batch_max_failure_resolution_attempts: 3
- merge_method: squash
- update_method: rebase
- name: Test
+ - name: "Test"
+ conditions:
+ - and: *is_open
+ - and: *is_default_branch
+ - and: *checks_are_passing
+ batch_size: 10
+ batch_max_wait_time: 5m
+ checks_timeout: 5m
+ batch_max_failure_resolution_attempts: 3
+ merge_method: squash
+ update_method: rebase📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| queue_rules: | |
| - batch_size: 10 | |
| batch_max_wait_time: 5 m | |
| checks_timeout: 5 m | |
| batch_max_failure_resolution_attempts: 3 | |
| merge_method: squash | |
| update_method: rebase | |
| name: Test | |
| queue_rules: | |
| - name: "Test" | |
| conditions: | |
| - and: *is_open | |
| - and: *is_default_branch | |
| - and: *checks_are_passing | |
| batch_size: 10 | |
| batch_max_wait_time: 5m | |
| checks_timeout: 5m | |
| batch_max_failure_resolution_attempts: 3 | |
| merge_method: squash | |
| update_method: rebase |
🧰 Tools
🪛 YAMLlint (1.35.1)
[error] 560-560: no new line character at the end of file
(new-line-at-end-of-file)
|
These changes were released in v1.1.1. |
what
Summary by CodeRabbit