Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Jobs that have not been started yet (like on delete job) are shown with "completed" status. #2404

Open
sangee2004 opened this issue Jan 10, 2024 · 0 comments
Labels
kind/bug Something isn't working
Milestone

Comments

@sangee2004
Copy link
Contributor

acorn - version v0.10.0-rc2-7-ge533da10+e533da10

Steps to reproduce the problem:

  1. Deploy app with delete job with following Acornfile
containers: web: {
	image: "nginx"
}

jobs: {"create-job": {
	image: "busybox"
	command: ["sleep", "10s"]
	events: ["create","update"]
      }
      "delete-job": {
	image: "busybox"
	command: ["sleep", "10s"]
	events: ["delete"]
      }
}
  1. Once the app is deployed successfully, notice that the delete job state is shown as "completed" when it is actually not executed.
acorn jobs      
NAME                 STATE       LAST RUN   NEXT RUN   CREATED
mytest1.create-job   completed   87s ago    N/A        87s ago
mytest1.delete-job   completed   N/A        N/A        104s ago

Expected Behavior:
Delete job status in this case should be some state that indicates that it is not yet scheduled for execution instead of "completed" state.

@sangee2004 sangee2004 added kind/bug Something isn't working help wanted Extra attention is needed labels Jan 10, 2024
@sangee2004 sangee2004 added this to the Backlog milestone Jan 10, 2024
@cjellick cjellick removed the help wanted Extra attention is needed label Jan 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants