Skip to content

[bot] Fast-forward for 26.5.0#7681

Merged
github-actions[bot] merged 14 commits into
release26.5from
26.5_ff_bot_26.5.0
May 20, 2026
Merged

[bot] Fast-forward for 26.5.0#7681
github-actions[bot] merged 14 commits into
release26.5from
26.5_ff_bot_26.5.0

Conversation

@github-actions
Copy link
Copy Markdown

Generated automatically.
Approve all matching PRs simultaneously.
Approval will trigger automatic merge.
View all PRs: https://internal.labkey.com/Scrumtime/Backlog/harvest-gitOpenPullRequests.view?branch=26.5_ff_bot_26.5.0

labkey-tchad and others added 14 commits April 28, 2026 15:30
#### Rationale
1. age_in_days / age(..., SQL_TSI_DAY) — Preserves SQL Server's
calendar-boundary semantics for timestampdiff(SQL_TSI_DAY, ...) on
Postgres, where the native operator counts 24-hour intervals instead.
Consistent with the existing age_in_months/age_in_years functions;
permanent addition to LabKey SQL.
2. CAST(... AS BOOLEAN) in SELECT lists (QuerySelect.java) — On SQL
Server, boolean QMethodCalls in a select list are wrapped in CASE WHEN
(...) THEN 1 ELSE 0 END to avoid predicates as scalar values. But CAST(x
AS BIT) is already a value, not a predicate, and SQL Server rejects the
wrapped form. Fix excludes ConvertInfo from the wrap. (repro: insert
failing query / error)
3. DatabaseMigrationService.registerSchemaContributor — Interface for
DatabaseMigrationService.registerSchemaContributor in premiumModules

#### Related Pull Requests
- LabKey/premiumModules#499
- LabKey/tnprcEHRModules#277
- LabKey/ehrModules#1119

#### Changes
- Method.java — age_in_days method, age(..., SQL_TSI_DAY) dispatch,
updated validation
- QueryTestCase.jsp — tests for both new syntaxes including datetime
calendar-boundary cases
- LabKeySql.md — documents age_in_days
- QuerySelect.java — skip boolean wrap for CAST/CONVERT on SQL Server
- DatabaseMigrationService.java — new registerSchemaContributor
interface method

---------

Co-authored-by: Adam Rauch <adam@labkey.com>
#### Rationale
LabKey/internal-issues#936

Avoid automatic conversion to `String[]` when the view name contains
commas.
#### Rationale
Useful for mothership schema. It's kinda long, but Claude thinks it's
justified.

#### Related Pull Requests
- <!-- list of links to related pull requests (replace this comment) -->

#### Changes
- <!-- list of descriptions of changes that are worth noting (replace
this comment) -->

<!-- list of standard tasks (remove this comment to enable)
#### Tasks 📍
- [ ] Manual Testing
- [ ] Test Automation
- [ ] Verify Fix
-->
…resolve correctly when added to assay results grid if sample lookup is set to a specific sample type (#7640)

- use schema getTable() for materialIdForeignKey instead of custom createLookupTableInfo()
- add test case to AssayTest
#### Rationale
Exporting a folder archive with many samples or other experiment objects
can result in thousands or hundreds of thousands of not very interesting
log entries.

#### Changes
- Reduce entity row level logging to `DEBUG`
- Delete dead code
- Always use a logger, falling back to a default on `XarExporter`

#### Tasks 📍
- ~Manual Testing~
- ~Test Automation~
#### Rationale
We should switch cache clearing and heap dumping from GET to POST, and
we can do more specific permission checks on a few actions.

#### Changes
- Move cache clearing and garbage collecting to an API
- Add a confirmation on heap dumping
- Use DOM builder for cache listings
- Generics and other lint cleanup

#### Tasks 📍
- [x] Manual Testing @labkey-adam 
  - [x] Verify caches page continues to render
- [x] Verify that cache clearing, GC, and heap dumping UI still works
from Admin Console
  - [x] Verify that clear caches, GC, and heap dump require POST
- [x] Test Automation
#### Rationale
This PR removes the stack trace from the error page details. In the case
where the error type details only consists of a stacktrace (execution),
the "Show Details" button won't be rendered.
@github-actions github-actions Bot merged commit 97c3777 into release26.5 May 20, 2026
28 of 31 checks passed
@github-actions github-actions Bot deleted the 26.5_ff_bot_26.5.0 branch May 20, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants