Explain when a negative number prefix appears
Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
parent
d35236948c
commit
5adf3285ec
1 changed files with 3 additions and 0 deletions
|
|
@ -653,6 +653,9 @@ func truncateAsUTF16(str string, max int) string {
|
|||
// the prefixed number is either:
|
||||
// - An ordinal and cannot be mapped to the corresponding job's ID.
|
||||
// - A negative integer which is the ID of the job in the old Actions service.
|
||||
// The service right now tries to get logs and use an ordinal in a loop.
|
||||
// However, if it doesn't get the logs, it falls back to an old service
|
||||
// where the ID can apparently be negative.
|
||||
func attachRunLog(rlz *zip.Reader, jobs []shared.Job) {
|
||||
for i, job := range jobs {
|
||||
re := jobLogFilenameRegexp(job)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue