Skip to content

Swap workflow sometimes generates incorrect release notes (OSOE-1112) #475

Open
@BenedekFarkas

Description

@BenedekFarkas

The Swap workflow also creates a release in the code repository, but the release notes are not always correct, i.e. different than what it should be according to the diff between the previous release's commit and the current one.

Noticed in DoNest that one the Swap workflow instance's step responsible for moving the production/latest tag is one that doesn't seem to exist (in the code repo, neither in the swap repo): 23f505af

Deleted tag 'production/latest' (was 23f505af)
To https://github.com/Lombiq/DotNest-Tenants-Core
 - [deleted]           production/latest
Deleted tag 'staging/latest' (was 96837ea7)
To https://github.com/Lombiq/DotNest-Tenants-Core
 - [deleted]           staging/latest
To https://github.com/Lombiq/DotNest-Tenants-Core
 * [new tag]           staging/latest -> staging/latest
To https://github.com/Lombiq/DotNest-Tenants-Core
 * [new tag]           production/latest -> production/latest
To https://github.com/Lombiq/DotNest-Tenants-Core
 * [new tag]           production/2025-05-15T13-55-[53](https://github.com/Lombiq/DotNest-Tenants-Core-Swap/actions/runs/15046359395/job/42290772611#step:9:54) -> production/2025-05-15T13-55-53
Notice: The commit from the app code repository with the SHA 96837ea743efc0dbf32002993af0b31c646c9c77 was swapped out.

This could be a clue as to why it's generating the release notes based on the incorrect diff.

Jira issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions