Skip to content

fix: builder result parsing in web server#1321

Merged
laurentsenta merged 1 commit intomasterfrom
fix/builder-result-parsing
Jul 7, 2022
Merged

fix: builder result parsing in web server#1321
laurentsenta merged 1 commit intomasterfrom
fix/builder-result-parsing

Conversation

@laurentsenta
Copy link
Copy Markdown
Contributor

@laurentsenta laurentsenta commented Apr 22, 2022

Fixes #1320

Retrieve the task outcome using the decoder from #1347, generates the correct outcome during builds.

@laurentsenta laurentsenta marked this pull request as draft April 22, 2022 11:06
@laurentsenta laurentsenta force-pushed the fix/builder-result-parsing branch 3 times, most recently from b4b3c62 to db79234 Compare April 22, 2022 11:17
@laurentsenta laurentsenta marked this pull request as ready for review April 22, 2022 11:23
@laurentsenta laurentsenta marked this pull request as draft June 6, 2022 17:15
@laurentsenta
Copy link
Copy Markdown
Contributor Author

laurentsenta commented Jun 6, 2022

Moving this back into Draft,
We're not using testground build anymore, so this is much less urgent, I might come back to this with a better fix after we fixed other task-status-related tasks.

Done

@laurentsenta laurentsenta force-pushed the fix/builder-result-parsing branch from db79234 to f5d5b28 Compare June 28, 2022 12:37
@laurentsenta laurentsenta marked this pull request as ready for review June 28, 2022 12:39
return fmt.Sprintf("%s:%s", t.Plan, t.Case)
default:
return "not supported"
}
Copy link
Copy Markdown
Contributor Author

@laurentsenta laurentsenta Jun 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: I can't decode the BuildInput here and show something more precise in place of "build". There is a cycle between api and the task package. Will revisit with a larger refactoring later.

@laurentsenta laurentsenta force-pushed the fix/builder-result-parsing branch from f5d5b28 to e726fc0 Compare July 7, 2022 13:25
@laurentsenta laurentsenta merged commit 40c58e9 into master Jul 7, 2022
@laurentsenta laurentsenta deleted the fix/builder-result-parsing branch July 7, 2022 13:59
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.

testground build task produces errors in the daemon

2 participants