From d99059c0a172105b40a6e222eaa27d95ed0c0dd6 Mon Sep 17 00:00:00 2001 From: Guilherme Santos Date: Mon, 2 Mar 2026 14:24:21 +0100 Subject: [PATCH 1/2] fix code_point_limit for current ruby version --- lib/gooddata/rest/connection.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gooddata/rest/connection.rb b/lib/gooddata/rest/connection.rb index 10a9e6e85..d98aa81f3 100644 --- a/lib/gooddata/rest/connection.rb +++ b/lib/gooddata/rest/connection.rb @@ -180,7 +180,7 @@ def initialize(opts) # Connect using username and password def connect(username, password, options = {}) if RUBY_ENGINE == "jruby" && RUBY_ENGINE_VERSION >= '9.4.12.0' - Psych::Parser.code_point_limit = 100 * MB + Psych::Parser.code_point_limit = 100 * MB end server = options[:server] || Helpers::AuthHelper.read_server options = DEFAULT_LOGIN_PAYLOAD.merge(options) From 02d1e18f338d0f606521fb5112ee2e92047c371a Mon Sep 17 00:00:00 2001 From: Guilherme Santos Date: Fri, 30 Jan 2026 14:11:44 +0100 Subject: [PATCH 2/2] test workflow --- .github/workflows/check.yaml | 1 - .github/workflows/test.yaml | 18 ++++++++++++++++++ lib/gooddata/rest/connection.rb | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 8ef47db86..e3938608e 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -35,7 +35,6 @@ jobs: with: AUTO_MERGE: false base_branch: ${{ needs.prepare-env.outputs.branch }} - deploy: false pr_number: ${{ needs.prepare-env.outputs.pr_number }} java_version: '11' ruby_version: 'jruby-9.4.12.1' diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 000000000..3bfc0b2ee --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,18 @@ +name: Quick and Dirty lcm runner +on: + workflow_dispatch: + +jobs: + call-e2e: + uses: ./.github/workflows/lcm-integration-e2e.yaml + secrets: inherit + permissions: + id-token: write + contents: read + with: + AUTO_MERGE: true + pr_number: "abc123" + base_branch: "master" + java_version: '11' + ruby_version: 'jruby-9.4.12.1' + diff --git a/lib/gooddata/rest/connection.rb b/lib/gooddata/rest/connection.rb index d98aa81f3..10a9e6e85 100644 --- a/lib/gooddata/rest/connection.rb +++ b/lib/gooddata/rest/connection.rb @@ -180,7 +180,7 @@ def initialize(opts) # Connect using username and password def connect(username, password, options = {}) if RUBY_ENGINE == "jruby" && RUBY_ENGINE_VERSION >= '9.4.12.0' - Psych::Parser.code_point_limit = 100 * MB + Psych::Parser.code_point_limit = 100 * MB end server = options[:server] || Helpers::AuthHelper.read_server options = DEFAULT_LOGIN_PAYLOAD.merge(options)