Skip to content

[bot] Merge 26.3 to 26.5 (Conflicts)#7642

Merged
github-actions[bot] merged 8 commits intorelease26.5-SNAPSHOTfrom
26.5_fb_bot_merge_26.3
May 5, 2026
Merged

[bot] Merge 26.3 to 26.5 (Conflicts)#7642
github-actions[bot] merged 8 commits intorelease26.5-SNAPSHOTfrom
26.5_fb_bot_merge_26.3

Conversation

@github-actions
Copy link
Copy Markdown

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

Automatic merge failed! Please merge 26.3 into 26.5_fb_bot_merge_26.3 and resolve conflicts manually.

git fetch
git checkout 26.5_fb_bot_merge_26.3
git reset --hard origin/release26.5-SNAPSHOT
git merge 5297b9fd9c6a912b0480666d54b2aa9f675093ac -m "Merge 26.3 to 26.5"

Resolve all conflicts (using IntelliJ or git mergetool)

git commit
git push --force

Approve all matching PRs simultaneously.
Approval will trigger automatic merge.
Verify all PRs before approving: https://internal.labkey.com/Scrumtime/Backlog/harvest-gitOpenPullRequests.view?branch=26.5_fb_bot_merge_26.3

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
@labkey-klum labkey-klum force-pushed the 26.5_fb_bot_merge_26.3 branch from 3e2a4da to 8329c39 Compare May 5, 2026 16:48
@github-actions github-actions Bot merged commit e30d389 into release26.5-SNAPSHOT May 5, 2026
9 checks passed
@github-actions github-actions Bot deleted the 26.5_fb_bot_merge_26.3 branch May 5, 2026 21:48
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