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

plugins: expand PluginStatusV1 to include runtime status details #42962

Merged
merged 3 commits into from
Jun 25, 2024

Conversation

tigrato
Copy link
Contributor

@tigrato tigrato commented Jun 14, 2024

This PR extends Teleport PluginStatusV1 to include details about the status of the runtime status of a plugin. These details include:

  • error message
  • last sync time
  • number of objects imported in gitlab

@tigrato tigrato added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v14 backport/branch/v15 backport/branch/v16 labels Jun 14, 2024
@tigrato tigrato requested review from justinas and jakule June 14, 2024 17:23
@tigrato tigrato marked this pull request as ready for review June 14, 2024 17:24
api/proto/teleport/legacy/types/types.proto Outdated Show resolved Hide resolved
@justinas
Copy link
Contributor

Generally looks good.

What will the semantics of status updates be? E.g. if a code path emits the old barebones status (just the error code), will it override existing detailed integration-specific fields?

@tigrato
Copy link
Contributor Author

tigrato commented Jun 18, 2024

Generally looks good.

What will the semantics of status updates be? E.g. if a code path emits the old barebones status (just the error code), will it override existing detailed integration-specific fields?

We have no way of controlling this. Since this runs in auth, auth itself is responsible for updating the status field. If it's not aware of this change, it will replace whatever is in the db

@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from rudream June 21, 2024 16:08
This PR extends Teleport PluginStatusV1 to include details about the
status of the runtime status of a plugin. These details include:
- error message
- last sync time
- number of objects imported in gitlab

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@tigrato tigrato force-pushed the tigrato/add-gitlab-plugin-status branch from 6275617 to 5dfacd8 Compare June 25, 2024 08:46
@tigrato tigrato enabled auto-merge June 25, 2024 08:47
@tigrato tigrato added this pull request to the merge queue Jun 25, 2024
Merged via the queue into master with commit fb5c937 Jun 25, 2024
40 checks passed
@tigrato tigrato deleted the tigrato/add-gitlab-plugin-status branch June 25, 2024 10:32
@public-teleport-github-review-bot

@tigrato See the table below for backport results.

Branch Result
branch/v14 Failed
branch/v15 Failed
branch/v16 Failed

tigrato added a commit that referenced this pull request Jun 25, 2024
…42962)

* plugins: expand `PluginStatusV1` to include runtime status details

This PR extends Teleport PluginStatusV1 to include details about the
status of the runtime status of a plugin. These details include:
- error message
- last sync time
- number of objects imported in gitlab

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>

* fix field refs

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
tigrato added a commit that referenced this pull request Jun 25, 2024
…42962)

* plugins: expand `PluginStatusV1` to include runtime status details

This PR extends Teleport PluginStatusV1 to include details about the
status of the runtime status of a plugin. These details include:
- error message
- last sync time
- number of objects imported in gitlab

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>

* fix field refs

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
tigrato added a commit that referenced this pull request Jun 25, 2024
…42962)

* plugins: expand `PluginStatusV1` to include runtime status details

This PR extends Teleport PluginStatusV1 to include details about the
status of the runtime status of a plugin. These details include:
- error message
- last sync time
- number of objects imported in gitlab

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>

* fix field refs

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
github-merge-queue bot pushed a commit that referenced this pull request Jun 26, 2024
…42962) (#43471)

* plugins: expand `PluginStatusV1` to include runtime status details

This PR extends Teleport PluginStatusV1 to include details about the
status of the runtime status of a plugin. These details include:
- error message
- last sync time
- number of objects imported in gitlab



* fix field refs

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
github-merge-queue bot pushed a commit that referenced this pull request Jun 26, 2024
…42962) (#43470)

* plugins: expand `PluginStatusV1` to include runtime status details

This PR extends Teleport PluginStatusV1 to include details about the
status of the runtime status of a plugin. These details include:
- error message
- last sync time
- number of objects imported in gitlab



* fix field refs

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
github-merge-queue bot pushed a commit that referenced this pull request Jun 26, 2024
…42962) (#43469)

* plugins: expand `PluginStatusV1` to include runtime status details

This PR extends Teleport PluginStatusV1 to include details about the
status of the runtime status of a plugin. These details include:
- error message
- last sync time
- number of objects imported in gitlab



* fix field refs

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants