Skip to content

Show a Preview note for OP Worker 2 on GovCloud in the install script - #490

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits into
mainfrom
jansen.wenberg/op-govcloud-preview
Nov 16, 2026
Merged

gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits into
mainfrom
jansen.wenberg/op-govcloud-preview

Conversation

@Jansen-w

@Jansen-w Jansen-w commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

  • When DD_SITE=ddog-gov.com, the OP Worker 2 install script no longer stops with exit 1. It prints one note that says Observability Pipelines on GovCloud is in Preview, and the install continues.
  • Adds the GovCloud guard from install_script.sh.template to on_error in the Worker 2 script. On GovCloud, a failed install prints fallback_msg and exits. It does not offer to upload dd-install.log and the API key in a failure report.
  • The Worker 1 script does not change. OP Worker 1 cannot connect to GovCloud, so it still stops with the "isn't supported on GovCloud" warning.

Motivation

OP on GovCloud is in Preview, and the first customer was blocked by the "isn't supported on GovCloud" check in the script.

Testing

  • bash -n passes on the script.

Stacked on #491, which fixes the shellcheck SC2329 failure on main.

@Jansen-w
Jansen-w requested a review from a team as a code owner November 16, 2026 18:55
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T18:57:40.369601Z a8de313 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Pipelines  Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 65ab3ad | Docs | View more details | Give us feedback!

@Jansen-w
Jansen-w changed the base branch from main to jansen.wenberg/shellcheck-sc2329 November 16, 2026 19:08
@Jansen-w
Jansen-w force-pushed the jansen.wenberg/op-govcloud-preview branch from a8de313 to 9ebb4c5 Compare November 16, 2026 19:08
@Jansen-w
Jansen-w added this pull request to stack #492 November 16, 2026 19:08
Comment thread install_script_op_worker1.sh Outdated
exit 1;
fi

# Don't offer to send the install log and API key in a failure report on GovCloud

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What is install_script_op_worker1.sh ? Is this 1.0?

@Jansen-w Jansen-w changed the title Show a Preview note for OP on GovCloud in the install scripts Show a Preview note for OP Worker 2 on GovCloud in the install script Nov 16, 2026
Base automatically changed from jansen.wenberg/shellcheck-sc2329 to main November 16, 2026 22:00
The OP Worker install scripts stopped with exit 1 when DD_SITE is
ddog-gov.com. Now they print a note that OP on GovCloud is in Preview,
and the install continues.

Add the Agent script GovCloud guard to on_error, so a failed GovCloud
install does not offer to upload the install log and API key.

Environment: Datadog workspace
OP Worker 1 cannot connect to GovCloud, so restore the check that
stops the Worker 1 install on ddog-gov.com. Only the Worker 2 script
shows the Preview note.

Environment: Datadog workspace
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot force-pushed the jansen.wenberg/op-govcloud-preview branch from 024ed56 to 65ab3ad Compare November 16, 2026 22:00
@Jansen-w

Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-11-16 22:12:00 UTC ℹ️ Start processing command /merge


2026-11-16 22:12:04 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in main is approximately 36m (p90).


2026-11-16 22:46:14 UTC ℹ️ MergeQueue: This merge request was merged

@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot merged commit 1b2be90 into main Nov 16, 2026
353 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot deleted the jansen.wenberg/op-govcloud-preview branch November 16, 2026 22:46
@coignetp coignetp mentioned this pull request Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants