Skip to content

chore(release): sync main back into development - #3284

Open
github-actions[bot] wants to merge 6 commits into
developmentfrom
sync/main-to-development-2.0.11
Open

chore(release): sync main back into development#3284
github-actions[bot] wants to merge 6 commits into
developmentfrom
sync/main-to-development-2.0.11

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Opened by the release workflow after publishing 2.0.11 from main.

A release commits a version bump onto the branch it ran from. Without carrying
that back, development falls behind main, and since both branches then
changed the version file independently, the next development -> main
promotion conflicts on it — every time.

Version files are resolved to development's side, the higher line, so this
cannot move a version backwards. Any other conflict stops the workflow instead
of being resolved automatically.

Merge this, do not squash. A squash copies the files and discards the
relationship: the merge base would not move and the next promotion would
conflict exactly as before. A 0-file diff here is normal and is not a no-op —
recording the ancestry is the whole point.

WilcoLouwerse and others added 6 commits September 1, 2026 13:23
Version1Date20260706110000's CREATE EXTENSION line was added on
2026-07-21 (commit 15d9345), after the migration had already
shipped and been recorded as run on existing installations. Nextcloud
runs each app+version row exactly once, so instances that migrated
through the intermediate window never install pg_trgm — and every
_fuzzy=true request silently degrades to unindexed ILIKE with no
@self.relevance field. Confirmed on the dev-env instance: oc_migrations
recorded 1Date20260706110000 as run, pg_extension had only plpgsql.

Add a new migration file — a fresh app+version row — that idempotently
re-runs CREATE EXTENSION IF NOT EXISTS pg_trgm with the same tolerant-
failure contract as the original. Instances that already have pg_trgm
installed take the "already installed" branch and log an info message.

Unblocks the WOO-536 fulltext-search fuzzy path.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… (WOO-536)

Addresses review #5077597717 findings:

F1 (concern) — CI `quality / Features Check` was red on `docs/features.json`
baseline drift (annotation: "docs/features.json is out of date — run
scripts/extract-features.py to regenerate"). Regenerated via the canonical
ConductionNL/.github/scripts/extract-features.py — added the
"RBAC-as-Public Toggle" entry the openspec change was missing.

F2 (nit) — added the `@spec openspec/changes/searchable-property-index/tasks.md#1.1`
tag on both the class docblock and the postSchemaChange method docblock,
matching the sibling Version1Date20260706110000. Keeps the feature-to-
bootstrap traceability chain intact.

F3 (nit) — happy-path log now distinguishes the no-op re-run from the
actual install-by-re-run. Probes `pg_extension` before the CREATE EXTENSION
call; on success emits either "already installed (no-op re-run)" (the vast
majority of instances) or "installed by re-run" (the instances this PR
exists to fix). Probe failure falls through — the CREATE EXTENSION
statement is idempotent regardless.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…-536)

CI PR check `quality / PHP Quality (phpcs)` failed on two style errors
in the pg_extension probe/log-differentiation refactor:

- `$result = ...` inside the nested try had equals-sign alignment drift
  (14 spaces before `=` vs. 1 required).
- No blank line after the closing brace of the `if ($wasAlreadyInstalled
  === true)` block before the `return` statement.

Both auto-fixed via phpcbf. Same runtime semantics; phpcs clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Resolves merge conflict on docs/features.json by regenerating the
baseline against the merged tree — main's newer openspec catalog
takes over (22 features vs. 27 pre-merge; the rbac-as-public-toggle
archive dir was reorganised away on main during the 501-commit
window since this branch was cut at 2c73432, so the extractor no
longer picks up that entry).

Also reformats lib/Migration/Version1Date20260901000000.php to
match the new sibling shape on main
(Version1Date20260706110000.php) — tab indentation, K&R braces on
same line, concatenated warning string. Zero semantic change.

Effective PR diff vs main is now just the new migration file, as
originally intended.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
fix(migration): re-run pg_trgm CREATE EXTENSION on all instances (WOO-536 unblock)
The 2.0.11 release bumped the version on main. Without this,
development stays behind main and the next development -> main promotion
conflicts on the version file.

Version files resolve to development's side, which is the higher line,
so this never moves a version backwards.
@github-actions
github-actions Bot enabled auto-merge September 1, 2026 13:14
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.

1 participant