Skip to content

Fix QueryList timeout typing and clean up compile-commits config#28802

Open
kkauy wants to merge 2 commits into
trinodb:masterfrom
kkauy:issue-28727-webui-failure-location
Open

Fix QueryList timeout typing and clean up compile-commits config#28802
kkauy wants to merge 2 commits into
trinodb:masterfrom
kkauy:issue-28727-webui-failure-location

Conversation

@kkauy
Copy link
Copy Markdown

@kkauy kkauy commented Mar 23, 2026

Description

This change makes two small fixes:

  • clean up the MAVEN_COMPILE_COMMITS configuration used in CI / compile-commit so the command is easier to read and its output is more useful when debugging failures
  • fix the timeout handle typing in QueryList by using ReturnType<typeof setTimeout>, which is safer across environments and aligns better with TypeScript expectations

Additional context and related issues

The CI change helps make compile-commit behavior easier to inspect when failures happen.

The Web UI change avoids relying on number for the timeout handle type, which can be incorrect depending on the environment and TypeScript configuration.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented Mar 23, 2026

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@github-actions github-actions Bot added the ui Web UI label Mar 23, 2026
@kkauy
Copy link
Copy Markdown
Author

kkauy commented Mar 23, 2026

I submitted the signed CLA to cla@trino.io more than three weeks ago and also sent follow-up emails, but the verification/cla-signed check is still failing. Could someone please help confirm whether my CLA was received, or whether any additional information is needed from me?

MAVEN_INSTALL_OPTS="-Xmx3G -XX:+ExitOnOutOfMemoryError"
MAVEN_COMPILE_COMMITS="-B --strict-checksums --quiet -T 1C -DskipTests -Dmaven.source.skip=true -Dair.check.skip-all=true -Dmaven.javadoc.skip=true --no-snapshot-updates --no-transfer-progress"
MAVEN_COMPILE_COMMITS="-B --strict-checksums
-T 1C -DskipTests -Dmaven.source.skip=true -Dair.check.skip-all=true -Dmaven.javadoc.skip=true --no-snapshot-updates --no-transfer-progress"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

remove line break

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I will keep the MAVEN_COMPILE_COMMITS line on a single line

Comment thread .github/workflows/ci.yml
MAVEN_OPTS: "-Xmx512M -XX:+ExitOnOutOfMemoryError"
MAVEN_INSTALL_OPTS: "-Xmx3G -XX:+ExitOnOutOfMemoryError"
MAVEN_FAST_INSTALL: "-B -V -T 1C -DskipTests -Dmaven.source.skip=true -Dair.check.skip-all"
MAVEN_COMPILE_COMMITS: "-B --quiet -T 1C -DskipTests -Dmaven.source.skip=true -Dair.check.skip-all=true -Dmaven.javadoc.skip=true --no-snapshot-updates --no-transfer-progress"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I thought that --quiet was intentional. Why remove?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

restore the --quiet flag (it was removed during refactoring by mistake).

@wendigo
Copy link
Copy Markdown
Contributor

wendigo commented Mar 23, 2026

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed label Mar 23, 2026
@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented Mar 23, 2026

The cla-bot has been summoned, and re-checked this pull request!

@kkauy
Copy link
Copy Markdown
Author

kkauy commented Mar 24, 2026

Kept MAVEN_COMPILE_COMMITS on a single line and synced the flags between compile-commit and ci.yml, restoring --quiet and keeping --strict-checksums in both places.

@kkauy kkauy force-pushed the issue-28727-webui-failure-location branch 3 times, most recently from 45e3f0d to b623e53 Compare March 28, 2026 22:30
@kkauy
Copy link
Copy Markdown
Author

kkauy commented Mar 28, 2026

Re-ran GoogleSheets test` locally and it passes. The remaining CI failure appears unrelated to this PR and may be due to an external or intermittent Google Sheets issue in CI.

@kkauy
Copy link
Copy Markdown
Author

kkauy commented Mar 31, 2026

It looks like the plugin/trino-google-sheets check is now passing. At the moment, the remaining failures appear to be ci / check-commits-dispatcher and ci / build-success.

Could someone please confirm whether there is anything further needed from my side for this PR, or whether the remaining failures are unrelated to the changes here?

@kkauy kkauy force-pushed the issue-28727-webui-failure-location branch from 258cf6a to 89e68f6 Compare April 1, 2026 04:24
@github-actions
Copy link
Copy Markdown

This pull request has gone a while without any activity. Ask for help on #core-dev on Trino slack.

@github-actions github-actions Bot added the stale label Apr 22, 2026
@github-actions github-actions Bot removed the stale label May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants