From dbd0f18c3989ca50e5af4e1eafd2e6e492cde617 Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Sun, 3 May 2026 18:53:14 +0200 Subject: [PATCH] Fix invalid JSON escape \s in trigger comment regexes \s is not a valid JSON escape sequence, causing a JSONDecodeError that prevented Buildkite from parsing the pipeline config entirely. No builds were triggering on any PR as a result. Replace \s with \\s throughout. Co-Authored-By: Claude Sonnet 4.6 (1M context) --- .buildkite/pull-requests.org-wide.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.buildkite/pull-requests.org-wide.json b/.buildkite/pull-requests.org-wide.json index 9b39fd9fe060..fa7d2ddb737c 100644 --- a/.buildkite/pull-requests.org-wide.json +++ b/.buildkite/pull-requests.org-wide.json @@ -12,8 +12,8 @@ "allowed_list": ["github-actions[bot]", "renovate[bot]", "mergify[bot]", "dependabot[bot]", "elastic-renovate-prod[bot]", "elastic-observability-automation[bot]", "elastic-vault-github-plugin-prod[bot]"], "build_on_commit": true, "build_on_comment": true, - "trigger_comment_regex": "^run docs-build ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?\s*?$", - "always_trigger_comment_regex": "^buildkite test this ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?\s*?$", + "trigger_comment_regex": "^run docs-build ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?\\s*?$", + "always_trigger_comment_regex": "^buildkite test this ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?\\s*?$", "skip_ci_labels": [ "skip docs-build" ], @@ -91,8 +91,8 @@ "allowed_list": ["github-actions[bot]", "renovate[bot]", "mergify[bot]"], "build_on_commit": true, "build_on_comment": true, - "trigger_comment_regex": "^run docs-build ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?\s*?$", - "always_trigger_comment_regex": "^buildkite test this ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?\s*?$", + "trigger_comment_regex": "^run docs-build ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?\\s*?$", + "always_trigger_comment_regex": "^buildkite test this ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?\\s*?$", "skip_ci_labels": [ "skip docs-build" ], @@ -113,8 +113,8 @@ "allowed_list": ["github-actions[bot]", "renovate[bot]", "mergify[bot]"], "build_on_commit": true, "build_on_comment": true, - "trigger_comment_regex": "^run docs-test\s*?$", - "always_trigger_comment_regex": "^run docs-test\s*?$", + "trigger_comment_regex": "^run docs-test\\s*?$", + "always_trigger_comment_regex": "^run docs-test\\s*?$", "skip_ci_labels": [], "skip_ci_on_only_changed": [], "always_require_ci_on_changed": [],