Skip to content

Hide epheremal password from CI logs - #4092

Open
bwoebi wants to merge 1 commit into
masterfrom
bob/hide-pass
Open

Hide epheremal password from CI logs#4092
bwoebi wants to merge 1 commit into
masterfrom
bob/hide-pass

Conversation

@bwoebi

@bwoebi bwoebi commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Avoid being flagged by password scanners.

@bwoebi
bwoebi requested a review from a team as a code owner August 4, 2026 18:23

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

Copy link
Copy Markdown

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: 41cf4af8db

ℹ️ 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".

"post-update-cmd": [
"Drupal\\Composer\\Composer::generateMetapackages",
"(chmod a+w sites/default || sudo chmod a+w sites/default) && rm -rf sites/default/files && rm -f sites/default/settings.php && php scripts/erase_drupal_db.php && php core/scripts/drupal install minimal"
"(chmod a+w sites/default || sudo chmod a+w sites/default) && rm -rf sites/default/files && rm -f sites/default/settings.php && php scripts/erase_drupal_db.php && php core/scripts/drupal install minimal | grep -v 'Password:'"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve the Drupal install exit status

When core/scripts/drupal install emits any ordinary stdout before failing, grep -v finds that output and exits successfully, so Composer treats this post-update script as successful despite the failed installation. In the Drupal targets, this also prevents the retry loop in Makefile from retrying and allows the .lock-php marker to be touched for an incomplete site; preserve the install command's status while filtering its output. The same pipeline is present in all three modified composer files.

Useful? React with 👍 / 👎.

@datadog-official

datadog-official Bot commented Aug 5, 2026

Copy link
Copy Markdown

Pipelines  Tests

Unblock PR with BitsAI

⚠️ Warnings

🚦 10 Pipeline jobs failed

DataDog/apm-reliability/dd-trace-php | min install tests   View in Datadog   GitLab

DataDog/apm-reliability/dd-trace-php | pecl tests: [7.0]   View in Datadog   GitLab

DataDog/apm-reliability/dd-trace-php | pecl tests: [8.2]   View in Datadog   GitLab

View all 10 failed jobs.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

🔄 Datadog auto-retried 4 jobs - 3 passed on retry View in Datadog

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 60.62% (-0.01%)

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: bbc6691 | Docs | Datadog PR Page | Give us feedback!

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.

1 participant