chore(QOV-2504): remove secret export option

BE
4d ago
+10-10

Summary

Issue: QOV-2504

Remove the option to include secrets when exporting an environment as Terraform.

  • Keep the confirmation dialog and replace the Export secrets toggle with “Secret values will not be exposed.”
  • Update qovery-typescript-axios to 1.1.1035 and remove the obsolete exportSecrets argument.
  • Preserve the ZIP download, cancellation and retry behavior.
  • Update tests to cover the confirmation dialog and the new API signature.

Requires the API change documented in [OpenAPI PR #1254](https://github.com/Qovery/qovery-openapi-spec/pull/1254).

For review: open an environment, select Export as Terraform, confirm that no secrets toggle appears, then confirm the export and check that the ZIP downloads.

Screenshots / Recordings

No screenshots attached.

Testing

  • Changes tested locally in the relevant Console pages and Storybooks
  • Targeted tests: 103 tests and 11 snapshots passed
  • Formatting checked on modified files
  • Lint passed on modified files
  • TypeScript check passed for the Console

PR Checklist

  • I followed naming, styling, and TypeScript rules (see .cursor/rules)
  • I performed a self-review (diff inspected, dead code removed)
  • I titled the PR using Conventional Commits with a scope when possible
  • I only kept necessary comments, written in English
  • I involved a designer to validate UI changes if I am not a designer
  • I covered the changed behavior with unit tests
  • I confirmed CI is green (Codecov red can be accepted)
  • I reviewed and executed locally any AI-assisted code

Summary by cubic

Removes the option to export secrets when exporting an environment as Terraform. Updates qovery-typescript-axios to 1.1.1035, which drops the exportSecrets argument from the API, and updates tests to match.