Skip to content

Conversation

815are
Copy link
Contributor

@815are 815are commented Oct 21, 2025

Additional improvement after -> #3754
3754 - tries to refresh specification-dist-tags.json if file contains error.

This PR prevents writing specification-dist-tags.json if error is returned.
In case if specification-dist-tags.json does not exist, then on next call logic will try to load dist tags again.

do not write specification dist tags if error is in response
changelog
@815are 815are requested a review from a team as a code owner October 21, 2025 07:37
@changeset-bot
Copy link

changeset-bot bot commented Oct 21, 2025

🦋 Changeset detected

Latest commit: a019480

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 49 packages
Name Type
@sap-ux/project-access Patch
@sap-ux/abap-deploy-config-sub-generator Patch
@sap-ux/abap-deploy-config-writer Patch
@sap-ux/adp-flp-config-sub-generator Patch
@sap-ux/adp-tooling Patch
@sap-ux/annotation-generator Patch
@sap-ux/app-config-writer Patch
@sap-ux/cap-config-writer Patch
@sap-ux/cf-deploy-config-sub-generator Patch
@sap-ux/cf-deploy-config-writer Patch
@sap-ux/create Patch
@sap-ux/deploy-config-sub-generator Patch
@sap-ux/environment-check Patch
@sap-ux/fe-fpm-writer Patch
@sap-ux/fiori-annotation-api Patch
@sap-ux/fiori-app-sub-generator Patch
@sap-ux/fiori-generator-shared Patch
@sap-ux/flp-config-inquirer Patch
@sap-ux/flp-config-sub-generator Patch
@sap-ux/generator-adp Patch
@sap-ux/launch-config Patch
@sap-ux/mockserver-config-writer Patch
@sap-ux/odata-service-inquirer Patch
@sap-ux/odata-service-writer Patch
@sap-ux/preview-middleware Patch
@sap-ux/project-input-validator Patch
@sap-ux/project-integrity Patch
@sap-ux/repo-app-import-sub-generator Patch
@sap-ux/telemetry Patch
@sap-ux/ui5-application-inquirer Patch
@sap-ux/ui5-library-reference-inquirer Patch
@sap-ux/ui5-library-reference-sub-generator Patch
@sap-ux/ui5-library-reference-writer Patch
@sap-ux/ui5-library-writer Patch
@sap-ux/ui5-test-writer Patch
@sap-ux-private/adaptation-editor-tests Patch
@sap-ux/fiori-elements-writer Patch
@sap-ux/fiori-freestyle-writer Patch
@sap-ux/fe-fpm-cli Patch
@sap-ux/abap-deploy-config-inquirer Patch
@sap-ux/deploy-config-generator-shared Patch
@sap-ux/inquirer-common Patch
@sap-ux/ui-service-sub-generator Patch
@sap-ux/ui5-library-sub-generator Patch
@sap-ux/ui-service-inquirer Patch
@sap-ux/generator-simple-fe Patch
@sap-ux/cf-deploy-config-inquirer Patch
@sap-ux/deploy-tooling Patch
@sap-ux/ui5-library-inquirer Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

comment
Copy link
Contributor

@Klaus-Keller Klaus-Keller left a comment

Choose a reason for hiding this comment

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

Thanks @815are.

  • Check for error before storing dist-tag looks good
  • changeset exists
  • test coverage is great
  • did a visual review, no manual test

approved from my side.

Copy link
Contributor

@broksy broksy left a comment

Choose a reason for hiding this comment

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

Changeset reflects to the changes made and are covered by test.
Approved from my side.

@sonarqubecloud
Copy link

@815are 815are merged commit ea0a942 into main Oct 22, 2025
16 checks passed
@815are 815are deleted the fix/doNotWriteCachedDistTagsIfErrorIsReceived branch October 22, 2025 09:22
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