Skip to content

feat: implement cron job never executes lab for Issue #38#89

Merged
HimanM merged 1 commit into
mainfrom
feat/cron-broken-lab
Jun 5, 2026
Merged

feat: implement cron job never executes lab for Issue #38#89
HimanM merged 1 commit into
mainfrom
feat/cron-broken-lab

Conversation

@HimanM
Copy link
Copy Markdown
Owner

@HimanM HimanM commented Jun 5, 2026

Description

This PR implements the cron-broken lab, which simulates a scheduled cleanup cron job failing to run due to a wrong interpreter (invalid shebang) and incorrect permissions (non-executable script) on the target script /opt/cleanup.sh.

Type of change

  • Bug fix
  • New feature
  • New Lab

Lab Requirements (If submitting a new lab)

If you are submitting a new BrokenOps lab, please verify:

  • The lab.yaml is fully populated.
  • The cloud-init.yaml correctly breaks the environment.
  • The verify.sh script correctly asserts if the environment is fixed.
  • MANDATORY: A working solution.sh script is provided to automatically fix the environment. (This is required for our CI verification pipeline).

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

Closes Issues

@HimanM HimanM merged commit 6335936 into main Jun 5, 2026
1 check passed
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