From 95676b3d148bc338a99197d14e04d4a593faf7d7 Mon Sep 17 00:00:00 2001 From: Mauro Antonio Sanz Date: Tue, 28 Jul 2026 15:47:31 -0300 Subject: [PATCH 01/13] ci: add Harness CI pipeline for split-openfeature-provider-js AI-Session-Id: 484064b0-6cd3-4b08-a2f5-25d49b0aac3f AI-Tool: claude-code AI-Model: unknown --- .../splitopenfeatureproviderjsinputset.yaml | 14 ++ .harness/pipeline.yaml | 173 ++++++++++++++++++ 2 files changed, 187 insertions(+) create mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset.yaml create mode 100644 .harness/pipeline.yaml diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset.yaml new file mode 100644 index 0000000..4e6c742 --- /dev/null +++ b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset.yaml @@ -0,0 +1,14 @@ +inputSet: + identifier: splitopenfeatureproviderjsinputset + name: splitopenfeatureproviderjsinputset + orgIdentifier: PROD + projectIdentifier: Harness_Split + pipeline: + identifier: splitopenfeatureproviderjs + properties: + ci: + codebase: + build: + type: PR + spec: + number: <+trigger.prNumber> diff --git a/.harness/pipeline.yaml b/.harness/pipeline.yaml new file mode 100644 index 0000000..4930209 --- /dev/null +++ b/.harness/pipeline.yaml @@ -0,0 +1,173 @@ +pipeline: + name: split-openfeature-provider-js + identifier: splitopenfeatureproviderjs + projectIdentifier: Harness_Split + orgIdentifier: PROD + tags: {} + properties: + ci: + codebase: + connectorRef: fmegithubharnessgitops + repoName: split-openfeature-provider-js + build: + type: branch + spec: + branch: <+input> + stages: + - stage: + name: Build and Test + identifier: Build_and_Test + description: "" + type: CI + spec: + cloneCodebase: true + caching: + enabled: true + override: true + platform: + os: Linux + arch: Amd64 + runtime: + type: Cloud + spec: + size: flex + execution: + steps: + - step: + type: Run + name: Install Node + identifier: Install_Node + spec: + shell: Bash + command: |- + curl https://mise.run | sh + export PATH="$HOME/.local/bin:$PATH" + mise use --global node@<+matrix.nodeVersion> + node --version + npm --version + - step: + type: Run + name: Start Redis + identifier: Start_Redis + spec: + shell: Sh + command: |- + curl -fsSL https://packages.redis.io/gpg | gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg + echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/redis.list + apt-get update -qq + apt-get install -y redis-server -qq + redis-server --daemonize yes --port 6379 + redis-cli ping + - step: + type: Run + name: Wait for Redis + identifier: Wait_for_Redis + spec: + shell: Sh + command: |- + for i in $(seq 1 15); do + redis-cli ping && break + echo "Waiting for Redis... attempt $i" + sleep 1 + done + - step: + type: Run + name: Install Dependencies + identifier: Install_Dependencies + spec: + shell: Bash + command: |- + export PATH="$HOME/.local/bin:$PATH" + eval "$(mise activate bash)" + npm ci + - step: + type: Run + name: Run Checks + identifier: Run_Checks + spec: + shell: Bash + command: |- + export PATH="$HOME/.local/bin:$PATH" + eval "$(mise activate bash)" + npm run check + - step: + type: Run + name: Run Tests + identifier: Run_Tests + spec: + shell: Bash + command: |- + export PATH="$HOME/.local/bin:$PATH" + eval "$(mise activate bash)" + npm run test + - step: + type: Run + name: SonarQube Scan + identifier: SonarQube_Scan + when: + stageStatus: Success + condition: <+matrix.nodeVersion> == "lts/*" + spec: + shell: Sh + command: |- + export SONAR_SCANNER_VERSION=5.0.1.3006 + curl -sSLo sonar-scanner.zip \ + "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_SCANNER_VERSION}-linux.zip" + unzip -q sonar-scanner.zip + export PATH="$PWD/sonar-scanner-${SONAR_SCANNER_VERSION}-linux/bin:$PATH" + apt-get install -y openjdk-17-jdk -qq + sonar-scanner \ + -Dsonar.projectKey=split-openfeature-provider-js \ + -Dsonar.sources=src \ + -Dsonar.tests=src/__tests__ \ + -Dsonar.host.url=https://sonar.harness.io \ + -Dsonar.token=<+secrets.getValue("sonarqube-token")> \ + -Dsonar.exclusions="**/node_modules/**,**/dist/**" \ + -Dsonar.coverage.exclusions="**/__tests__/**,**/node_modules/**" + - step: + type: Run + name: Post Quality Gate + identifier: Post_Quality_Gate + when: + stageStatus: Success + condition: <+matrix.nodeVersion> == "lts/*" + spec: + shell: Bash + command: |- + #!/bin/bash + set -e + + SONAR_TOKEN="<+secrets.getValue("sonarqube-token")>" + SONAR_URL="https://sonar.harness.io" + SONAR_PROJECT_KEY="split-openfeature-provider-js" + GITHUB_TOKEN="<+secrets.getValue("github-devops-token")>" + GITHUB_REPO="split-openfeature-provider-js" + COMMIT_SHA="<+codebase.commitSha>" + + STATUS_JSON=$(curl -sf \ + -H "Authorization: Bearer ${SONAR_TOKEN}" \ + "${SONAR_URL}/api/qualitygates/project_status?projectKey=${SONAR_PROJECT_KEY}") + + QG_STATUS=$(echo "$STATUS_JSON" | python3 -c "import sys,json; print(json.load(sys.stdin)['projectStatus']['status'])") + + case "$QG_STATUS" in + OK) GH_STATE="success"; DESCRIPTION="Quality gate passed" ;; + ERROR) GH_STATE="failure"; DESCRIPTION="Quality gate failed" ;; + WARN) GH_STATE="success"; DESCRIPTION="Quality gate passed with warnings" ;; + *) GH_STATE="pending"; DESCRIPTION="Quality gate status unknown" ;; + esac + + TARGET_URL="${SONAR_URL}/dashboard?id=${SONAR_PROJECT_KEY}" + + curl -sf -X POST \ + -H "Authorization: token ${GITHUB_TOKEN}" \ + -H "Accept: application/vnd.github.v3+json" \ + -H "Content-Type: application/json" \ + -d "{\"state\":\"${GH_STATE}\",\"description\":\"${DESCRIPTION}\",\"context\":\"sonarqube/quality-gate\",\"target_url\":\"${TARGET_URL}\"}" \ + "https://api.github.com/repos/splitio/${GITHUB_REPO}/statuses/${COMMIT_SHA}" + + echo "Posted SonarQube quality gate status: ${GH_STATE}" + strategy: + matrix: + nodeVersion: + - "lts/*" From c89ef3511ba4d0c7fb451ea10eb447d19bf6ed96 Mon Sep 17 00:00:00 2001 From: Mauro Sanz Date: Tue, 28 Jul 2026 18:52:04 +0000 Subject: [PATCH 02/13] Harness.io Git Commit --- .../splitopenfeatureproviderjsinputset-new.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset-new.yaml diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset-new.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset-new.yaml new file mode 100644 index 0000000..4e6c742 --- /dev/null +++ b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset-new.yaml @@ -0,0 +1,14 @@ +inputSet: + identifier: splitopenfeatureproviderjsinputset + name: splitopenfeatureproviderjsinputset + orgIdentifier: PROD + projectIdentifier: Harness_Split + pipeline: + identifier: splitopenfeatureproviderjs + properties: + ci: + codebase: + build: + type: PR + spec: + number: <+trigger.prNumber> From a5cb15ecdffbfef7da50c93caa42551b065fee34 Mon Sep 17 00:00:00 2001 From: Mauro Antonio Sanz Date: Tue, 28 Jul 2026 15:57:52 -0300 Subject: [PATCH 03/13] ci: make codebase build type a runtime input for Harness pipeline AI-Session-Id: 484064b0-6cd3-4b08-a2f5-25d49b0aac3f AI-Tool: claude-code AI-Model: unknown --- .harness/pipeline.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.harness/pipeline.yaml b/.harness/pipeline.yaml index 4930209..d9f7fdb 100644 --- a/.harness/pipeline.yaml +++ b/.harness/pipeline.yaml @@ -9,10 +9,7 @@ pipeline: codebase: connectorRef: fmegithubharnessgitops repoName: split-openfeature-provider-js - build: - type: branch - spec: - branch: <+input> + build: <+input> stages: - stage: name: Build and Test From 3e9e4ea80c08d9d5bb49ac44fe1e881a5b5a08aa Mon Sep 17 00:00:00 2001 From: Mauro Antonio Sanz Date: Tue, 28 Jul 2026 15:58:33 -0300 Subject: [PATCH 04/13] chore: remove duplicate auto-generated input set file AI-Session-Id: 484064b0-6cd3-4b08-a2f5-25d49b0aac3f AI-Tool: claude-code AI-Model: unknown --- .../splitopenfeatureproviderjsinputset-new.yaml | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset-new.yaml diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset-new.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset-new.yaml deleted file mode 100644 index 4e6c742..0000000 --- a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset-new.yaml +++ /dev/null @@ -1,14 +0,0 @@ -inputSet: - identifier: splitopenfeatureproviderjsinputset - name: splitopenfeatureproviderjsinputset - orgIdentifier: PROD - projectIdentifier: Harness_Split - pipeline: - identifier: splitopenfeatureproviderjs - properties: - ci: - codebase: - build: - type: PR - spec: - number: <+trigger.prNumber> From 5c17de798490aa29b37f391b6c1865154ab788c8 Mon Sep 17 00:00:00 2001 From: Mauro Sanz Date: Tue, 28 Jul 2026 19:12:40 +0000 Subject: [PATCH 05/13] Harness.io Git Commit --- .../splitopenfeatureproviderjsinputset2.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset2.yaml diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset2.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset2.yaml new file mode 100644 index 0000000..4e6c742 --- /dev/null +++ b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset2.yaml @@ -0,0 +1,14 @@ +inputSet: + identifier: splitopenfeatureproviderjsinputset + name: splitopenfeatureproviderjsinputset + orgIdentifier: PROD + projectIdentifier: Harness_Split + pipeline: + identifier: splitopenfeatureproviderjs + properties: + ci: + codebase: + build: + type: PR + spec: + number: <+trigger.prNumber> From 8018c56e7dba593e39f6ba50dc132665fb46ff31 Mon Sep 17 00:00:00 2001 From: Mauro Sanz Date: Tue, 28 Jul 2026 19:19:11 +0000 Subject: [PATCH 06/13] Harness.io Git Commit --- .../splitopenfeatureproviderjsinputset3.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset3.yaml diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset3.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset3.yaml new file mode 100644 index 0000000..4e6c742 --- /dev/null +++ b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset3.yaml @@ -0,0 +1,14 @@ +inputSet: + identifier: splitopenfeatureproviderjsinputset + name: splitopenfeatureproviderjsinputset + orgIdentifier: PROD + projectIdentifier: Harness_Split + pipeline: + identifier: splitopenfeatureproviderjs + properties: + ci: + codebase: + build: + type: PR + spec: + number: <+trigger.prNumber> From 3486843dc540ae2fd476ecb77a2ba3ed7291d382 Mon Sep 17 00:00:00 2001 From: Mauro Sanz Date: Tue, 28 Jul 2026 19:29:36 +0000 Subject: [PATCH 07/13] Harness.io Git Commit --- .../splitopenfeatureproviderjsinputset4.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset4.yaml diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset4.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset4.yaml new file mode 100644 index 0000000..4e6c742 --- /dev/null +++ b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset4.yaml @@ -0,0 +1,14 @@ +inputSet: + identifier: splitopenfeatureproviderjsinputset + name: splitopenfeatureproviderjsinputset + orgIdentifier: PROD + projectIdentifier: Harness_Split + pipeline: + identifier: splitopenfeatureproviderjs + properties: + ci: + codebase: + build: + type: PR + spec: + number: <+trigger.prNumber> From f2da725d0d0eacef1c598a72ef61669e7faf0ba1 Mon Sep 17 00:00:00 2001 From: Mauro Sanz Date: Tue, 28 Jul 2026 19:40:12 +0000 Subject: [PATCH 08/13] Harness.io Git Commit --- .../splitopenfeatureproviderjsinputset5.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset5.yaml diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset5.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset5.yaml new file mode 100644 index 0000000..4e6c742 --- /dev/null +++ b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset5.yaml @@ -0,0 +1,14 @@ +inputSet: + identifier: splitopenfeatureproviderjsinputset + name: splitopenfeatureproviderjsinputset + orgIdentifier: PROD + projectIdentifier: Harness_Split + pipeline: + identifier: splitopenfeatureproviderjs + properties: + ci: + codebase: + build: + type: PR + spec: + number: <+trigger.prNumber> From 8f70ccdd4864cac6fc1ca892224e1b41a2de5a33 Mon Sep 17 00:00:00 2001 From: Mauro Antonio Sanz Date: Tue, 28 Jul 2026 16:43:11 -0300 Subject: [PATCH 09/13] chore: remove stray input-set files from Harness import troubleshooting AI-Session-Id: 484064b0-6cd3-4b08-a2f5-25d49b0aac3f AI-Tool: claude-code AI-Model: unknown --- .../splitopenfeatureproviderjsinputset2.yaml | 14 -------------- .../splitopenfeatureproviderjsinputset3.yaml | 14 -------------- .../splitopenfeatureproviderjsinputset4.yaml | 14 -------------- .../splitopenfeatureproviderjsinputset5.yaml | 14 -------------- 4 files changed, 56 deletions(-) delete mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset2.yaml delete mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset3.yaml delete mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset4.yaml delete mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset5.yaml diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset2.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset2.yaml deleted file mode 100644 index 4e6c742..0000000 --- a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset2.yaml +++ /dev/null @@ -1,14 +0,0 @@ -inputSet: - identifier: splitopenfeatureproviderjsinputset - name: splitopenfeatureproviderjsinputset - orgIdentifier: PROD - projectIdentifier: Harness_Split - pipeline: - identifier: splitopenfeatureproviderjs - properties: - ci: - codebase: - build: - type: PR - spec: - number: <+trigger.prNumber> diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset3.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset3.yaml deleted file mode 100644 index 4e6c742..0000000 --- a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset3.yaml +++ /dev/null @@ -1,14 +0,0 @@ -inputSet: - identifier: splitopenfeatureproviderjsinputset - name: splitopenfeatureproviderjsinputset - orgIdentifier: PROD - projectIdentifier: Harness_Split - pipeline: - identifier: splitopenfeatureproviderjs - properties: - ci: - codebase: - build: - type: PR - spec: - number: <+trigger.prNumber> diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset4.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset4.yaml deleted file mode 100644 index 4e6c742..0000000 --- a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset4.yaml +++ /dev/null @@ -1,14 +0,0 @@ -inputSet: - identifier: splitopenfeatureproviderjsinputset - name: splitopenfeatureproviderjsinputset - orgIdentifier: PROD - projectIdentifier: Harness_Split - pipeline: - identifier: splitopenfeatureproviderjs - properties: - ci: - codebase: - build: - type: PR - spec: - number: <+trigger.prNumber> diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset5.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset5.yaml deleted file mode 100644 index 4e6c742..0000000 --- a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset5.yaml +++ /dev/null @@ -1,14 +0,0 @@ -inputSet: - identifier: splitopenfeatureproviderjsinputset - name: splitopenfeatureproviderjsinputset - orgIdentifier: PROD - projectIdentifier: Harness_Split - pipeline: - identifier: splitopenfeatureproviderjs - properties: - ci: - codebase: - build: - type: PR - spec: - number: <+trigger.prNumber> From ad68bd4c5d9c07724acda2ec3aad97701e4f63b0 Mon Sep 17 00:00:00 2001 From: Mauro Antonio Sanz Date: Tue, 28 Jul 2026 17:10:31 -0300 Subject: [PATCH 10/13] chore: remove pre-committed input set file so Harness can create it via git AI-Session-Id: 484064b0-6cd3-4b08-a2f5-25d49b0aac3f AI-Tool: claude-code AI-Model: unknown --- .../splitopenfeatureproviderjsinputset.yaml | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset.yaml diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset.yaml deleted file mode 100644 index 4e6c742..0000000 --- a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset.yaml +++ /dev/null @@ -1,14 +0,0 @@ -inputSet: - identifier: splitopenfeatureproviderjsinputset - name: splitopenfeatureproviderjsinputset - orgIdentifier: PROD - projectIdentifier: Harness_Split - pipeline: - identifier: splitopenfeatureproviderjs - properties: - ci: - codebase: - build: - type: PR - spec: - number: <+trigger.prNumber> From 21dd4fd7c583072b7b6e316401a1ad0b6849359d Mon Sep 17 00:00:00 2001 From: Mauro Sanz Date: Tue, 28 Jul 2026 20:10:56 +0000 Subject: [PATCH 11/13] Harness.io Git Commit --- .../splitopenfeatureproviderjsinputset.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset.yaml diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset.yaml new file mode 100644 index 0000000..4e6c742 --- /dev/null +++ b/.harness/orgs/PROD/projects/Harness_Split/pipelines/splitopenfeatureproviderjs/input_sets/splitopenfeatureproviderjsinputset.yaml @@ -0,0 +1,14 @@ +inputSet: + identifier: splitopenfeatureproviderjsinputset + name: splitopenfeatureproviderjsinputset + orgIdentifier: PROD + projectIdentifier: Harness_Split + pipeline: + identifier: splitopenfeatureproviderjs + properties: + ci: + codebase: + build: + type: PR + spec: + number: <+trigger.prNumber> From 68d798570e398333e99c6b47d91232389b212362 Mon Sep 17 00:00:00 2001 From: Mauro Antonio Sanz Date: Tue, 28 Jul 2026 17:17:40 -0300 Subject: [PATCH 12/13] ci: fix mise node version syntax (lts, not lts/*) AI-Session-Id: 484064b0-6cd3-4b08-a2f5-25d49b0aac3f AI-Tool: claude-code AI-Model: unknown --- .harness/pipeline.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.harness/pipeline.yaml b/.harness/pipeline.yaml index d9f7fdb..728c088 100644 --- a/.harness/pipeline.yaml +++ b/.harness/pipeline.yaml @@ -103,7 +103,7 @@ pipeline: identifier: SonarQube_Scan when: stageStatus: Success - condition: <+matrix.nodeVersion> == "lts/*" + condition: <+matrix.nodeVersion> == "lts" spec: shell: Sh command: |- @@ -127,7 +127,7 @@ pipeline: identifier: Post_Quality_Gate when: stageStatus: Success - condition: <+matrix.nodeVersion> == "lts/*" + condition: <+matrix.nodeVersion> == "lts" spec: shell: Bash command: |- @@ -167,4 +167,4 @@ pipeline: strategy: matrix: nodeVersion: - - "lts/*" + - "lts" From bffc4435cb817c77cc81a4ae80ac74182449fd61 Mon Sep 17 00:00:00 2001 From: Mauro Antonio Sanz Date: Tue, 28 Jul 2026 17:28:05 -0300 Subject: [PATCH 13/13] ci: exclude test dir from sonar.sources to avoid double-indexing AI-Session-Id: 484064b0-6cd3-4b08-a2f5-25d49b0aac3f AI-Tool: claude-code AI-Model: unknown --- .harness/pipeline.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.harness/pipeline.yaml b/.harness/pipeline.yaml index 728c088..9f4957e 100644 --- a/.harness/pipeline.yaml +++ b/.harness/pipeline.yaml @@ -119,7 +119,7 @@ pipeline: -Dsonar.tests=src/__tests__ \ -Dsonar.host.url=https://sonar.harness.io \ -Dsonar.token=<+secrets.getValue("sonarqube-token")> \ - -Dsonar.exclusions="**/node_modules/**,**/dist/**" \ + -Dsonar.exclusions="**/node_modules/**,**/dist/**,src/__tests__/**" \ -Dsonar.coverage.exclusions="**/__tests__/**,**/node_modules/**" - step: type: Run