pipe-cd / pipecd

The One CD for All {applications, platforms, operations}
https://pipecd.dev
Apache License 2.0
1.09k stars 153 forks source link

Drift Detection Issue with ECS Apps #5336

Open HoangNguyen689 opened 2 days ago

HoangNguyen689 commented 2 days ago

What happened:

After upgrading PipeCD to v0.49.3, all ECS applications in the PipeCD console are displayed as "Out Of Sync". The detected drift includes:

What you expected to happen:

How to reproduce it:

Environment:

Potential Cause

The issue is likely due to the incorrect handling of the order of environment variables.

Caution Notes (advised from @t-kikuc)

t-kikuc commented 2 days ago

Thank you for reporting.

We should fix the ignoreParameters() func.

https://github.com/pipe-cd/pipecd/blob/920620e93ca55a6a400a12afe5cf998451516937/pkg/app/piped/driftdetector/ecs/detector.go#L240

Configuration settings that are not specified in the servicedef.yaml file.

Environment variables that have not been changed but are still flagged as differences.