Skip to content

Publish versioned release after snapshot release#1578

Merged
simonbaird merged 1 commit intoconforma:mainfrom
simonbaird:release-order-tweak
May 1, 2024
Merged

Publish versioned release after snapshot release#1578
simonbaird merged 1 commit intoconforma:mainfrom
simonbaird:release-order-tweak

Conversation

@simonbaird
Copy link
Copy Markdown
Member

There's a short window of time between removing the snapshot build and creating a new one, where the snapshot release doesn't exist. IIUC this change should make that window shorter because we're publishing the snapshot release before the versioned release instead of after.

It looks like the time taken for a release publish is 6 seconds, so this potentially reduces the time we have no snapshot release available from 12 seconds down to 6 seconds, give or take.

There might be a way to eliminate the 6 second gap entirely and also avoid the scenario where a broken release builds means there is no snapshot available at all, but I'll file a separate story for that and we can worry about it later.

Followup patch for:

Ref: https://issues.redhat.com/browse/EC-602

There's a short window of time between removing the snapshot build
and creating a new one, where the snapshot release doesn't exist.
IIUC this change should make that window shorter because we're
publishing the snapshot release before the versioned release instead
of after.

It looks like the time taken for a release publish is 6 seconds, so
this potentially reduces the time we have no snapshot release
available from 12 seconds down to 6 seconds, give or take.

There might be a way to eliminate the 6 second gap entirely and also
avoid the scenario where a broken release builds means there is no
snapshot available at all, but I'll file a separate story for that
and we can worry about it later.

Followup patch for:

Ref: https://issues.redhat.com/browse/EC-602
@codecov
Copy link
Copy Markdown

codecov Bot commented May 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.39%. Comparing base (003ad7f) to head (33af162).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1578      +/-   ##
==========================================
+ Coverage   80.70%   87.39%   +6.69%     
==========================================
  Files          65       76      +11     
  Lines        4794     5134     +340     
==========================================
+ Hits         3869     4487     +618     
+ Misses        925      647     -278     
Flag Coverage Δ
acceptance 73.07% <ø> (?)
generative 80.70% <ø> (ø)
integration 80.70% <ø> (ø)
unit 80.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 43 files with indirect coverage changes

@simonbaird
Copy link
Copy Markdown
Member Author

Trivial change so I think I'll merge without review.

@simonbaird simonbaird merged commit e091aca into conforma:main May 1, 2024
simonbaird added a commit to simonbaird/conforma-cli that referenced this pull request May 2, 2024
In commit 33af162 PR conforma#1578 there was an unintentional side-effect
of changing which release was designated as "latest" in GitHub.
Let's undo the unintentional change.

Followup to a followup of...

Ref: https://issues.redhat.com/browse/EC-602
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant