Skip to content

Conversation

@Falltrades
Copy link
Contributor

@Falltrades Falltrades commented Dec 4, 2025

Issues liées

Issues numéro:


Quel est le comportement actuel ?

  • We do not test the validity of the Gitlab access token. This brings troubles when:
    • Someone manually deleted the token in Gitlab.
    • Gitlab token expires after 1 year.
  • We do not compare secrets properly. This made the comparison always giving a true result, hence new generation of Vault secret is written even though nothing changes everytime users are reprovisioning their project.

Quel est le nouveau comportement ?

Fix all the above.

Cette PR introduit-elle un breaking change ?

No.

Autres informations

It remains GIT_MIRROR_TOKEN which got regenerated everytime users are reprovisioning their project. But this requires a more thorough investigation in order to refactor.

@Falltrades Falltrades self-assigned this Dec 4, 2025
@Falltrades Falltrades added the preview Deploy preview app with Argo-cd label Dec 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2025

🤖 Hey !

A preview of the application is available at : https://console-pr-1802.sdid-hp.cpin.numerique-interieur.com

Please be patient, deployment may take a few minutes.

@Falltrades Falltrades marked this pull request as ready for review December 4, 2025 14:51
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2025

🤖 Hey !

The @cpn-console/gitlab-plugin (v3.3.1) package already exists on npm but the source code has changed, you should consider updating the package version.

The version update warning should be ignored in the case of modifications that do not affect the code once it has been built, such as code formatting, etc...

@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2025

🤖 Hey !

The security scan report for the current pull request is available here.

@Falltrades Falltrades force-pushed the fix/gitlab-mirror-access-token-generation branch 9 times, most recently from b2018aa to b4cb778 Compare December 5, 2025 10:45
@Falltrades Falltrades added this to the MCO milestone Dec 5, 2025
@Falltrades Falltrades force-pushed the fix/gitlab-mirror-access-token-generation branch from b4cb778 to 10e8e66 Compare December 5, 2025 11:05
@Falltrades Falltrades force-pushed the fix/gitlab-mirror-access-token-generation branch 4 times, most recently from 2199807 to cbddb77 Compare December 5, 2025 13:33
@Falltrades Falltrades force-pushed the fix/gitlab-mirror-access-token-generation branch from cbddb77 to fde6441 Compare December 5, 2025 13:52
@Falltrades Falltrades force-pushed the fix/gitlab-mirror-access-token-generation branch from fde6441 to 039f8b8 Compare December 5, 2025 14:10
@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

🤖 Hey !

The @cpn-console/shared (v1.3.0) package already exists on npm but the source code has changed, you should consider updating the package version.

The version update warning should be ignored in the case of modifications that do not affect the code once it has been built, such as code formatting, etc...

@Falltrades Falltrades force-pushed the fix/gitlab-mirror-access-token-generation branch from 039f8b8 to 2f02794 Compare December 5, 2025 14:37
Copy link
Collaborator

@mathieulaude mathieulaude left a comment

Choose a reason for hiding this comment

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

Ajouter des TU sur shallowEqual

@Falltrades Falltrades force-pushed the fix/gitlab-mirror-access-token-generation branch from 2f02794 to a033403 Compare December 5, 2025 15:39
@cloud-pi-native-sonarqube
Copy link

Copy link
Collaborator

@StephaneTrebel StephaneTrebel left a comment

Choose a reason for hiding this comment

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

Let's goooo 🚀

@Falltrades Falltrades merged commit a4a3e0e into main Dec 8, 2025
34 checks passed
@Falltrades Falltrades deleted the fix/gitlab-mirror-access-token-generation branch December 8, 2025 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

built preview Deploy preview app with Argo-cd

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants