Skip to content

ci(release)!: v11#288

Merged
dargmuesli merged 17 commits intomainfrom
beta
Apr 3, 2026
Merged

ci(release)!: v11#288
dargmuesli merged 17 commits intomainfrom
beta

Conversation

@dargmuesli
Copy link
Copy Markdown
Member

@dargmuesli dargmuesli commented Feb 22, 2026

dargmuesli and others added 9 commits February 18, 2026 00:45
feat(postgraphile)!: migrate to v5
## [11.0.0-beta.1](10.0.3...11.0.0-beta.1) (2026-02-20)

### ⚠ BREAKING CHANGES

* **postgraphile:** migrate to v5

### Features

* **postgraphile:** migrate to v5 ([a16af50](a16af50))

### Performance Improvements

* **index:** add missing ([9e92140](9e92140))
## [11.0.0-beta.2](11.0.0-beta.1...11.0.0-beta.2) (2026-03-02)

### ⚠ BREAKING CHANGES

* **jwt:** rework mutation

### Features

* **jwt:** rework mutation ([d40493c](d40493c))

### Bug Fixes

* schedule release ([4ae70d0](4ae70d0))
* schedule release ([31be85a](31be85a))
* schedule release ([6e6e818](6e6e818))
@maevsi-bot
Copy link
Copy Markdown

🎉 This PR is included in version 11.0.0-beta.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Release prep for v11 (beta.2) that aligns the database schema/tests with the PostGraphile v5 migration and JWT mutation rework, and adds a large set of missing indexes for performance.

Changes:

  • Replace deprecated @omit ... comment directives with PostGraphile v5 @behavior ... directives across the schema.
  • Rework JWT mutation functions (remove event_unlock, add jwt_update_guest_add, convert JWT functions to LANGUAGE sql, adjust JWT table PK strategy).
  • Add many btree indexes for common FK/filter columns and tighten the test that checks for missing FK indexes.

Reviewed changes

Copilot reviewed 48 out of 48 changed files in this pull request and generated 14 comments.

Show a summary per file
File Description
test/logic/utility/database/index.sql Turns missing-FK-index detection into a hard failure (RAISE EXCEPTION).
test/logic/scenario/database/index_missing.sql Removes the dedicated “missing index” scenario script.
test/logic/main.sql Stops including the removed index-missing scenario.
test/fixture/schema_vibetype.definition.sql Updates fixture schema for @behavior, JWT function rewrites, JWT table id strategy, and adds many indexes.
src/verify/function_jwt_update_guest_add.sql Verifies EXECUTE privileges for the renamed/replaced guest-claim function.
src/sqitch.plan Updates plan ordering and replaces function_event_unlock with function_jwt_update_guest_add.
src/revert/function_jwt_update_guest_add.sql Adds revert script for new jwt_update_guest_add function.
src/revert/function_event_unlock.sql Removes revert script for deleted event_unlock.
src/deploy/table_upload.sql Adds index on created_by and updates PostGraphile behavior comments.
src/deploy/table_report.sql Adds several indexes for report lookup columns and updates behavior comments.
src/deploy/table_profile_picture.sql Adds index on upload_id and updates behavior comments.
src/deploy/table_preference_event_size.sql Adds index on account_id and updates behavior comments.
src/deploy/table_preference_event_location.sql Adds index on created_by and updates behavior comments.
src/deploy/table_preference_event_format.sql Adds indexes and keeps preference table definitions aligned with new behavior annotations.
src/deploy/table_preference_event_category.sql Adds indexes and keeps preference table definitions aligned with new behavior annotations.
src/deploy/table_legal_term_acceptance.sql Adds indexes on FK columns and updates behavior comments.
src/deploy/table_legal_term.sql Updates PostGraphile behavior comment syntax.
src/deploy/table_jwt.sql Changes JWT table PK column from generated-from-token to DEFAULT gen_random_uuid().
src/deploy/table_guest.sql Adds FK-related indexes and updates behavior comments.
src/deploy/table_friendship.sql Adds participant indexes and updates behavior comments.
src/deploy/table_event_upload.sql Adds index on upload_id and updates behavior comments.
src/deploy/table_event_recommendation.sql Adds indexes for recommendation lookup paths.
src/deploy/table_event_format_mapping.sql Adds indexes for mapping lookups.
src/deploy/table_event_format.sql Updates PostGraphile behavior comment syntax.
src/deploy/table_event_favorite.sql Adds indexes for favorite lookups and updates behavior comments.
src/deploy/table_event_category_mapping.sql Adds indexes for mapping lookups.
src/deploy/table_event_category.sql Updates PostGraphile behavior comment syntax.
src/deploy/table_event_app.sql Adds indexes for app/event lookups and updates behavior comments.
src/deploy/table_event.sql Adds several event indexes and updates behavior comments.
src/deploy/table_device.sql Adds index on created_by and updates behavior comments.
src/deploy/table_contact.sql Adds several contact indexes and updates behavior comments.
src/deploy/table_attendance.sql Updates PostGraphile behavior comment syntax for attendance columns/table.
src/deploy/table_app.sql Updates PostGraphile behavior comment syntax.
src/deploy/table_address.sql Updates PostGraphile behavior comment syntax for metadata columns.
src/deploy/table_achievement.sql Adds index on account_id.
src/deploy/table_account_social_network.sql Adds index on account_id.
src/deploy/table_account_public.sql Updates PostGraphile behavior comment syntax.
src/deploy/table_account_block.sql Adds indexes for block lookups and updates behavior comments.
src/deploy/function_jwt_update_guest_add.sql Introduces new SQL JWT guest-claim upsert function (replacement for event_unlock).
src/deploy/function_jwt_update_attendance_add.sql Rewrites attendance-claim mutation to SQL and upsert-style JWT persistence.
src/deploy/function_jwt_update.sql Rewrites refresh logic to SQL CTE style.
src/deploy/function_jwt_create.sql Rewrites authentication to SQL CTE style and changes failure signaling semantics.
src/deploy/function_guest_claim_array.sql Switches claim parsing to JSON-based extraction and refactors filtering CTEs.
src/deploy/function_event_unlock.sql Removes event_unlock deploy script.
src/deploy/function_attendance_claim_array.sql Switches claim parsing to JSON-based extraction and refactors filtering CTEs.
package.json Bumps package version to 11.0.0-beta.2.
CHANGELOG.md Adds v11 beta release notes entries.
.vscode/settings.json Simplifies formatter settings to a global default formatter.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@maevsi-bot
Copy link
Copy Markdown

🎉 This PR is included in version 11.0.0-beta.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 9, 2026

Database Query Performance

✅ No significant regressions detected

Query Role Base (ms) PR (ms) Delta
account_block_ids account 0.058 0.027 (-53.4%)
account_block_ids anonymous 0.022 0.021 (-4.5%)
account_search account 1.908 1.854 (-2.8%)
attendance_claim_array account 0.037 0.024 (-35.1%)
attendance_claim_array anonymous 0.037 0.024 (-35.1%)
event_guest_count_maximum account 0.017 0.023 (+35.3%)
event_guest_count_maximum anonymous 0.042 0.038 (-9.5%)
event_search account 697.872 42.216 -94% 🚀
event_search anonymous 691.728 42.069 -93.9% 🚀
events_invited account 17.289 13.642 -21.1% 🚀
events_invited anonymous 17.314 13.595 -21.5% 🚀
guest_claim_array account 0.029 0.026 (-10.3%)
guest_claim_array anonymous 0.029 0.026 (-10.3%)
guest_count account 0.020 0.020 (0%)
guest_count anonymous 0.020 0.020 (0%)
select_accounts account 0.174 0.221 (+27%)
select_accounts anonymous 0.125 0.157 (+25.6%)
select_attendance account 45.746 4.582 -90% 🚀
select_attendance anonymous 5.608 3.855 -31.3% 🚀
select_contacts account 26.151 22.431 -14.2%
select_contacts anonymous 23.794 20.329 -14.6%
select_events account 715.747 41.734 -94.2% 🚀
select_events anonymous 687.699 41.744 -93.9% 🚀
select_guests account 42.956 18.029 -58% 🚀
select_guests anonymous 39.749 15.854 -60.1% 🚀
Details
  • Threshold for regression warnings: >15% and ≥1ms absolute change
  • Deltas in parentheses indicate that the absolute change is below the minimum threshold
  • Each measurement discards the first (cold-cache) execution, then reports the median of all subsequent runs within a 5-second time budget
  • Timings use clock_timestamp() with JIT compilation and synchronized sequential scans disabled
  • Data: 1000 accounts, 100 events, 1000 contacts, ~1000 guests, 200 attendances
  • Runner: GitHub Actions (timings may vary ±10% between runs)
  • Workflow run

## [11.0.0-beta.4](11.0.0-beta.3...11.0.0-beta.4) (2026-04-03)

### Bug Fixes

* schedule release ([859e714](859e714))
* schedule release ([052f309](052f309))
@maevsi-bot
Copy link
Copy Markdown

🎉 This PR is included in version 11.0.0-beta.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 73 out of 73 changed files in this pull request and generated 5 comments.

Comments suppressed due to low confidence (1)

src/deploy/table_jwt.sql:9

  • vibetype_private.jwt.id is described as the token identifier (jti), but the table now defines id uuid PRIMARY KEY DEFAULT gen_random_uuid() which allows id to diverge from (token).jti if any insert omits id or updates token.jti. If the intent is still “id == jti”, consider enforcing it explicitly (e.g., remove the default and always insert id, or add a CHECK constraint tying id to (token).jti) to prevent silent inconsistencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dargmuesli dargmuesli marked this pull request as ready for review April 3, 2026 10:08
@dargmuesli dargmuesli merged commit 85446a5 into main Apr 3, 2026
5 checks passed
@dargmuesli dargmuesli deleted the beta branch April 3, 2026 10:08
@maevsi-bot
Copy link
Copy Markdown

🎉 This PR is included in version 11.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants