Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stale lifecycle phases aren't cleaned up with updated Recipe #746

Open
rawalexe opened this issue Dec 13, 2024 · 0 comments
Open

Stale lifecycle phases aren't cleaned up with updated Recipe #746

rawalexe opened this issue Dec 13, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@rawalexe
Copy link
Member

rawalexe commented Dec 13, 2024

Issue Scenario

Below is an example of when the issue occurs:

sample_component v1 -> Deployment 1

---
...
Manifest:
    - Platform:
        os: linux
        runtime: "aws_nucleus_lite"
      Lifecycle:
        install: "echo Hello World!"
        run: 'while true; do echo "Hello World!" && sleep 1; done'
...

Now we do a new deployment which is a revision of the above deployment
sample_component v1.1 -> Deployment 2

---
...
Manifest:
    - Platform:
        os: linux
        runtime: "aws_nucleus_lite"
      Lifecycle:
        # missing install
        # run replaced by startup
        startup: 'while true; do echo "Hello World!" && sleep 1; done'
...

Side Effect

There will be stale install and run service file after Deployment 2 within the system and attempt to run them will show up in the ggdeploymentd's logs.

Remediation

Remove the component with a new Deployment3 and retry version 1.1 with the 4th deployment.

@rawalexe rawalexe self-assigned this Dec 15, 2024
@rawalexe rawalexe added the bug Something isn't working label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant