Skip to content

Feat/3.0.0 beta1 - #2318

Merged
zgqgit merged 2 commits into
releasefrom
feat/3.0.0-beta1
Aug 18, 2026
Merged

Feat/3.0.0 beta1#2318
zgqgit merged 2 commits into
releasefrom
feat/3.0.0-beta1

Conversation

@zgqgit

@zgqgit zgqgit commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

What

简要描述做了什么改动。

Why

为什么需要这个改动?

How

实现方式、设计决策(如有)。

Test

  • 本地测试通过
  • 114 测试服务器验证通过

Related

  • Issue/ticket:

zgqgit added 2 commits August 18, 2026 12:53
…uare (F051)

- Add channel_user_pin table (per-user, decoupled from membership) + DAO,
  alembic migration f051, and backfill script (mirrors the F044 space pin).
- set_channel_pin now gates on the F048 visible action and writes the new table.
- get_my_channels: 'created' reads the channel table by user_id; 'followed'
  derives from the F048-visible candidate subset minus own channels. Both drop
  unread and return no F048 actions (resolved lazily via channel detail).
- Square subscription status derives from F048 visible (consistent with the
  followed list), falling back to membership for pending/rejected.
- Remove dead code (_batch_channel_actions, channel-level unread batch helpers,
  update_pin_status) and add unit tests.
OpenFGAConf does not define store_id/model_id (only set at runtime after
OpenFGAManager.bootstrap, which the alembic process never runs). Direct
attribute access raised AttributeError and aborted 'alembic upgrade head',
leaving bisheng-backend stuck restarting. Use getattr so a missing value
falls through to the existing OpenFGA HTTP discovery/skip path.
@zgqgit
zgqgit merged commit d5ef160 into release Aug 18, 2026
1 of 2 checks passed
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