Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Release app version after upload#273

Open
oliverli wants to merge 1 commit intomaster from
oliver/release-app-version-after-upload
Open

Release app version after upload #273
oliverli wants to merge 1 commit intomaster from
oliver/release-app-version-after-upload

Conversation

@oliverli
Copy link
Collaborator

@oliverli oliverli commented Feb 20, 2026
edited
Loading

What and why?

After uploading the built zip archive to Datadog (presumably in a CI environment), also mark that version as the latest released version by making a PUT call to release/live

Making this call in the build script was the best possible move because various configs e.g. the Datadog site is configured in the Datadog vite plugin, which would be non-trivial to extract in a CI script and it would be user-unfriendly to have the user configure that again e.g. in the GH action.

How?

Call /release/live using doRequest after the application has been uploaded

Copy link
Collaborator Author

oliverli commented Feb 20, 2026
edited
Loading

Copy link

datadog-official bot commented Feb 20, 2026
edited
Loading

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 872da69 | Docs | Datadog PR Page | Was this helpful? Give us feedback!

@oliverli oliverli force-pushed the oliver/release-app-version-after-upload branch from a83fc18 to 35cda9b Compare February 20, 2026 07:53
Base automatically changed from oliver/allow-passing-version-name-via-environmental-variable-to-apps-plugin to master February 20, 2026 19:30
@oliverli oliverli force-pushed the oliver/release-app-version-after-upload branch from 35cda9b to 78322bb Compare February 20, 2026 19:58
@oliverli oliverli force-pushed the oliver/release-app-version-after-upload branch from 78322bb to 872da69 Compare February 20, 2026 20:34
@oliverli oliverli marked this pull request as ready for review February 20, 2026 20:39
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 872da69279

i️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

};

export const getReleaseUrl = (site: string, appId: string) => {
return `https://api.${site}/${APPS_API_PATH}/${appId}/release/live`;
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot Feb 20, 2026

Choose a reason for hiding this comment

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

P2 Badge Honor APPS_INTAKE_URL when building release endpoint

getReleaseUrl always targets https://api.<site>/.../release/live, while upload still honors DD_APPS_INTAKE_URL/DATADOG_APPS_INTAKE_URL via getIntakeUrl. In setups that use a custom intake host (proxy, staging, internal gateway), enabling APPS_VERSION_NAME will make the new release call go to a different backend than the upload call, causing release to fail (and the build to error) even though archive upload succeeded.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

@yoannmoinet yoannmoinet Awaiting requested review from yoannmoinet yoannmoinet is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /