8000 feat: enable command borders and report by default by cidrblock · Pull Request #4632 · ansible/molecule · GitHub
[go: up one dir, main page]

Skip to content

feat: enable command borders and report by default - #4632

Merged
shatakshiiii merged 5 commits into
ansible:mainfrom
cidrblock:feat/enable-borders-and-report-by-default
Jun 4, 2026
Merged

shatakshiiii merged 5 commits into
ansible:mainfrom
cidrblock:feat/enable-borders-and-report-by-default

Conversation

@cidrblock
Copy link
Copy Markdown
Contributor

Summary

  • Promote --command-borders and --report from experimental flags (default: disabled) to stable features (default: enabled).
  • Remove the EXPERIMENTAL: prefix from their help text and re-sort them into the standard options section.
  • Update fallback defaults in config.py and base.py to match the new Click defaults.
  • Remove now-redundant --report --command-borders from all doc examples across 3 files (~38 commands).
  • Update all affected unit tests for the new default values and option sort order.

Users who prefer the old behavior can pass --no-command-borders / --no-report, or set MOLECULE_COMMAND_BORDERS=false / MOLECULE_REPORT=false.

Test plan

  • Verify molecule test shows command borders and report by default (no flags needed)
  • Verify molecule test --no-command-borders --no-report disables both features
  • Verify MOLECULE_REPORT=false MOLECULE_COMMAND_BORDERS=false molecule test disables both via env
  • Run python -m pytest tests/unit/command/test_base.py -v to confirm env/CLI precedence tests pass
  • Run python -m pytest tests/unit/test_click_cfg.py -v to confirm option metadata and sort order tests pass
  • Run python -m pytest tests/unit/dependency/ -v to confirm dependency tests pass with new defaults

Made with Cursor

Promote --command-borders and --report from experimental flags
(default: disabled) to stable features (default: enabled). Users
who prefer the old behavior can pass --no-command-borders or
--no-report, or set the MOLECULE_COMMAND_BORDERS=false /
MOLECULE_REPORT=false environment variables.

- Change default from False to True for both options in click_cfg.py
- Remove experimental=True so help text no longer shows EXPERIMENTAL prefix
- Update fallback defaults in config.py and base.py to match
- Update all affected unit tests for new defaults and sort order
- Remove redundant --report --command-borders from doc examples

Made-with: Cursor
Move report and command_borders from the experimental_options list
to the non_experimental_options list in the test, matching the
change to remove their experimental flag.
@shatakshiiii
shatakshiiii merged commit 7ff1592 into ansible:main Jun 4, 2026
19 checks passed
rija added a commit to rmenage/ansible-role-hardened-docker that referenced this pull request Jul 30, 2026
This MR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [molecule](https://github.com/ansible-community/molecule) ([changelog](https://github.com/ansible-community/molecule/releases)) | `>=26.4.0,<26.5.0` → `>=26.6.0,<26.7.0` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/molecule/26.6.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/molecule/26.4.0/26.6.0?slim=true) |

---

### Release Notes

<details>
<summary>ansible-community/molecule (molecule)</summary>

### [`v26.6.0`](https://github.com/ansible/molecule/releases/tag/v26.6.0)

[Compare Source](ansible/molecule@v26.4.0...v26.6.0)

#### Features

- feat: enable command borders and report by default ([#&#8203;4632](ansible/molecule#4632)) [@&#8203;cidrblock](https://github.com/cidrblock)

#### Fixes

- fix: upgrade cryptography and cairosvg to patch known vulnerabilities ([#&#8203;4652](ansible/molecule#4652)) [@&#8203;sudhirverma](https://github.com/sudhirverma)
- fix: add missing build\_ignore entries to galaxy.yml ([#&#8203;4650](ansible/molecule#4650)) [@&#8203;sudhirverma](https://github.com/sudhirverma)
- fix: merge runtime environment in run\_command to preserve ANSIBLE\_ROLES\_PATH ([#&#8203;4634](ansible/molecule#4634)) [@&#8203;Dotify71](https://github.com/Dotify71)
- fix(docs): update docs about tmp dir ([#&#8203;4639](ansible/molecule#4639)) [@&#8203;MaKaNu](https://github.com/MaKaNu)
- fix: update \_extends syntax for release-drafter v7 compatibility ([#&#8203;4638](ansible/molecule#4638)) [@&#8203;rockygeekz](https://github.com/rockygeekz)
- fix(security): update dependencies \[SECURITY] ([#&#8203;4630](ansible/molecule#4630)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)

#### Maintenance

- chore: remove previously-synced agent skills ([#&#8203;4648](ansible/molecule#4648)) [@&#8203;ansibuddy](https://github.com/ansibuddy)
- chore(deps): update all dependencies pep621 ([#&#8203;4645](ansible/molecule#4645)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)
- chore(deps): update all dependencies ([#&#8203;4644](ansible/molecule#4644)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)
- chore(deps): update all dependencies pep621 ([#&#8203;4643](ansible/molecule#4643)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)
- chore(deps): update all dependencies ([#&#8203;4636](ansible/molecule#4636)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)
- chore(deps): update pep621 ([#&#8203;4637](ansible/molecule#4637)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)
- chore(deps): update pep621 ([#&#8203;4629](ansible/molecule#4629)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)
- fix(security): update dependencies \[SECURITY] ([#&#8203;4630](ansible/molecule#4630)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)
- chore(deps): update all dependencies ([#&#8203;4621](ansible/molecule#4621)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->


Refs:  rmenage/ansible-role-hardened-docker!41
See-also:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants

0