Add license check to Remote Development agent config update service
What does this MR do and why?
Resolves Add missing license flag check to `RemoteDevelo... (#409972 - closed)
Screenshots
The agent config partial update interval was changed from 10 seconds to 5. You can see this change was successfully picked up from the timestamps below:
{
"severity": "DEBUG",
"time": "2023-05-10T05:04:05.358Z",
"correlation_id": "01H020Q2PECC88S0YVN0NGCR3R",
"message": "Parsed workspaces from workspace_agent_infos",
"agent_id": 1,
"update_type": "partial",
"count": 0,
"workspace_agent_infos": []
}
{
"severity": "DEBUG",
"time": "2023-05-10T05:04:05.368Z",
"correlation_id": "01H020Q2PECC88S0YVN0NGCR3R",
"message": "Returning workspace_rails_infos",
"agent_id": 1,
"update_type": "partial",
"count": 0,
"workspace_rails_infos": []
}
{
"severity": "DEBUG",
"time": "2023-05-10T05:04:10.413Z",
"correlation_id": "01H020Q7MFDNKZ4VYG9HEQ69KK",
"message": "Beginning ReconcileProcessor",
"agent_id": 1,
"update_type": "partial"
}
{
"severity": "DEBUG",
"time": "2023-05-10T05:04:10.413Z",
"correlation_id": "01H020Q7MFDNKZ4VYG9HEQ69KK",
"message": "Parsed workspaces from workspace_agent_infos",
"agent_id": 1,
"update_type": "partial",
"count": 0,
"workspace_agent_infos": []
}
How to set up and validate locally
Update the remote dev agent config, and verify the agent picks it up. This was successfully exploratory tested during development
See https://gitlab.com/gitlab-org/remote-development/gitlab-remote-development-docs for more context on how to use the Remote Development feature.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Chad Woolley