Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify /compiler-info to show both active and inactive compilers #16

Merged
merged 7 commits into from
Mar 29, 2022

Conversation

azu-b
Copy link
Contributor

@azu-b azu-b commented Mar 17, 2022

Why make this change?

We need an endpoint that returns all the compilers, both active and inactive. Before this change, endpoints only show active compilers.

What is the change?

It adds the inactive compilers and their not built status to the compilers list returned by the /compiler-info endpoint.

Testing

Run yarn test and make sure all tests pass.

Questions and additional information for Reviewer

First time contributing to Kevin 👀

@azu-b azu-b requested a review from a team March 17, 2022 23:29
lib/CompilerManager.js Outdated Show resolved Hide resolved
@@ -118,3 +124,85 @@ describe("getAllBuildStatuses", () => {
});
});
});

describe("getAllCompilerInfo", () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

nice tests

azu-b added 2 commits March 27, 2022 20:55
This also keeps the tests I made, but I removed the part that involved
inactive compilers
@azu-b azu-b force-pushed the abarraza_WEBPLAT-4418_modify-kevin-compiler-info branch from 34f7ae0 to 057bb4e Compare March 27, 2022 21:17
lib/CompilerManager.js Outdated Show resolved Hide resolved
lib/CompilerManager.js Outdated Show resolved Hide resolved
@azu-b azu-b merged commit de05037 into master Mar 29, 2022
@azu-b azu-b deleted the abarraza_WEBPLAT-4418_modify-kevin-compiler-info branch March 29, 2022 22:31
@azu-b azu-b mentioned this pull request Mar 30, 2022
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.

3 participants