How frequently are packages checked on? #1682
-
How frequently are repos checked for updates? https://swiftpackageindex.com/apple/swift-protobuf says it was updated 20 hours ago. But clicking through to the build results (https://swiftpackageindex.com/builds/5C7262DB-01F6-4DF7-874D-DD6BECF808F2), it seems to say the build was using aba9915acb9208e8ca5a0e3dcc24690504f86773. Looking at https://github.com/apple/swift-protobuf/commits/main, there are four newer commits. So I'm wonder if timing was just off and it hasn't been checked, or if there might be a bug and the build was queued before the commits; but finished after those commits. So some time comparison is being done between the build completion time and thus ignoring the newer commits. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
HI Thomas! We need to make this more obvious, but the default branch is only built once per 24 hours at maximum. Tagged releases are always built as soon as they are seen, but with people pushing to a default branch we could easily be overwhelmed. There's a small note in the builds FAQ but we really need to make it more obvious.
From looking at the commits on that repo, looks like we happened to scan it for commits just after Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
We’re doing a full pass of all packages every couple of hours or so but we coalesce new revisions on default branches over 24h to reduce the number of builds. In practice that means that new releases are turned around shortly after they’re published but builds on default branches will take 24h. Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Well, what can I say, we just hope it helps 🤣 |
Beta Was this translation helpful? Give feedback.
HI Thomas!
We need to make this more obvious, but the default branch is only built once per 24 hours at maximum. Tagged releases are always built as soon as they are seen, but with people pushing to a default branch we could easily be overwhelmed. There's a small note in the builds FAQ but we really need to make it more obvious.
From looking at the commits on that repo, looks like we happened to…