prevent auto_lint.py from running more than one instance simultaneously

Bug #1942946 reported by Jose Guedez
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
charm-juju-lint
Fix Released
High
Jose Guedez

Bug Description

When the auto_lint script has issues like [0], it can lead to multiple instances of the script running (since it's fired via cron). Should add support to the script to detect a previous instance of the script running and fail early in those situations.

[0] https://bugs.launchpad.net/charm-juju-lint/+bug/1942943

Related branches

Jose Guedez (jfguedez)
Changed in charm-juju-lint:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Jose Guedez (jfguedez)
Jose Guedez (jfguedez)
Changed in charm-juju-lint:
status: Confirmed → In Progress
Jose Guedez (jfguedez)
Changed in charm-juju-lint:
status: In Progress → Fix Committed
Celia Wang (ziyiwang)
Changed in charm-juju-lint:
status: Fix Committed → Fix Released
milestone: none → 21.10
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.