diff --git a/openc3-cosmos-script-runner-api/app/controllers/application_controller.rb b/openc3-cosmos-script-runner-api/app/controllers/application_controller.rb index b13c4b4aae..2905afb992 100644 --- a/openc3-cosmos-script-runner-api/app/controllers/application_controller.rb +++ b/openc3-cosmos-script-runner-api/app/controllers/application_controller.rb @@ -100,4 +100,14 @@ def sanitize_params(param_list, require_params: true, allow_forward_slash: false end return result end + + def log_error(e) + if ENV['OPENC3_FULL_BACKTRACE'] + filtered_backtrace = e.backtrace + else + # Filter out backtrace to only application code + filtered_backtrace = e.backtrace.select { |line| !line.include?('activesupport') && !line.include?('actionpack') && !line.include?('rspec') && !line.include?('bundler') } + end + logger.error("#{e.message}\n#{filtered_backtrace.join("\n")}") + end end diff --git a/openc3-minio/Dockerfile b/openc3-minio/Dockerfile index ffa6a4441d..19892d97cc 100644 --- a/openc3-minio/Dockerfile +++ b/openc3-minio/Dockerfile @@ -1,6 +1,6 @@ ARG OPENC3_DEPENDENCY_REGISTRY=docker.io # Consider updating openc3_build_ubi.sh when changing the release version -ARG OPENC3_MINIO_RELEASE=RELEASE.2025-01-18T00-31-37Z +ARG OPENC3_MINIO_RELEASE=RELEASE.2025-01-20T14-49-07Z FROM ${OPENC3_DEPENDENCY_REGISTRY}/minio/minio:${OPENC3_MINIO_RELEASE} COPY cacert.pem /devel/cacert.pem diff --git a/playwright/tests/bucket-explorer.spec.ts b/playwright/tests/bucket-explorer.spec.ts index 069855b13a..c146899ce2 100644 --- a/playwright/tests/bucket-explorer.spec.ts +++ b/playwright/tests/bucket-explorer.spec.ts @@ -245,8 +245,8 @@ test('navigate logs and tools bucket', async ({ page, utils }) => { // Keep clicking alternatively on tools and then logs to force a refresh // This allows the DEFAULT folder to appear in time await expect(async () => { - await page.getByText('tools').click() - await page.getByText('logs').click() + await page.getByText('tools', { exact: true }).click() + await page.getByText('logs', { exact: true }).click() await expect(page.getByRole('cell', { name: 'DEFAULT' })).toBeVisible() }).toPass() await expect(page).toHaveURL(/.*\/tools\/bucketexplorer\/logs%2F/) diff --git a/scripts/linux/openc3_build_ubi.sh b/scripts/linux/openc3_build_ubi.sh index 1d89fdbf2c..0604e20a9c 100755 --- a/scripts/linux/openc3_build_ubi.sh +++ b/scripts/linux/openc3_build_ubi.sh @@ -70,7 +70,7 @@ cd openc3-minio docker build \ --network host \ --build-arg OPENC3_DEPENDENCY_REGISTRY=${OPENC3_UBI_REGISTRY}/ironbank/opensource \ - --build-arg OPENC3_MINIO_RELEASE=RELEASE.2023-10-16T04-13-43Z \ + --build-arg OPENC3_MINIO_RELEASE=RELEASE.2025-01-20T14-49-07Z \ --platform linux/amd64 \ -t "${OPENC3_REGISTRY}/${OPENC3_NAMESPACE}/openc3-minio-ubi:${OPENC3_TAG}" \ . @@ -156,7 +156,7 @@ docker build \ --build-context docs=../docs.openc3.com \ --build-arg NPM_URL=$NPM_URL \ --build-arg OPENC3_DEPENDENCY_REGISTRY=${OPENC3_UBI_REGISTRY}/ironbank/opensource \ - --build-arg OPENC3_MC_RELEASE=RELEASE.2023-10-14T01-57-03Z \ + --build-arg OPENC3_MC_RELEASE=RELEASE.2025-01-17T23-25-50Z \ --build-arg OPENC3_BASE_IMAGE=openc3-base-ubi \ --build-arg OPENC3_NODE_IMAGE=openc3-node-ubi \ --build-arg OPENC3_REGISTRY=$OPENC3_REGISTRY \