Skip to content

[bot] Fast-forward for 26.3.7#7646

Merged
github-actions[bot] merged 6 commits intorelease26.3from
26.3_ff_bot_26.3.7
May 5, 2026
Merged

[bot] Fast-forward for 26.3.7#7646
github-actions[bot] merged 6 commits intorelease26.3from
26.3_ff_bot_26.3.7

Conversation

@github-actions
Copy link
Copy Markdown

@github-actions github-actions Bot commented May 5, 2026

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.3_ff_bot_26.3.7

labkey-tchad and others added 6 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
@github-actions github-actions Bot merged commit 5297b9f into release26.3 May 5, 2026
21 of 24 checks passed
@github-actions github-actions Bot deleted the 26.3_ff_bot_26.3.7 branch May 5, 2026 18:08
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.

7 participants