Skip to content

HCL lock file "race" (composer apply step fails 'sporadicly' with multiple workers) #513

@borisvankatwijk

Description

@borisvankatwijk

We had the problem that a deploy with 4 workers could not initialize the hcl lock file consistently somehow.

Mach-compose apply step:

- name: MACH Composer apply working-directory: ${{ github.workspace }}/config env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} MCC_CLIENT_ID: ${{ secrets.MCC_CLIENT_ID }} MCC_CLIENT_SECRET: ${{ secrets.MCC_CLIENT_SECRET }} run: mach-composer apply --auto-approve -f tst-config.yaml --ignore-change-detection --workers=4 --force-init

Image

https://github.com/katogroup/mach-commerce-platform/actions/runs/15156076650/job/42614211241

logs_38891949926.zip

Idea we mentioned while discussing;

  • Take up lock file in github?

cc @demeyerthom

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions