Skip to content

feat: add release plan collaboration and versioned diffs#4689

Open
huanghongbo-hhb wants to merge 26 commits into
koderover:mainfrom
huanghongbo-hhb:feat/release-plan-collaboration-v1
Open

feat: add release plan collaboration and versioned diffs#4689
huanghongbo-hhb wants to merge 26 commits into
koderover:mainfrom
huanghongbo-hhb:feat/release-plan-collaboration-v1

Conversation

@huanghongbo-hhb

@huanghongbo-hhb huanghongbo-hhb commented May 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add release plan collaboration state so users can see who is editing the same section.
  • Generate one release plan version for each successful verb save and use version diff to show config changes in operation logs.
  • Save section-level editable snapshots instead of full release plan or full workflow objects.

Why

  • Users need clear change details for each release plan save.
  • Multiple editors need real-time section-level collaboration hints.

Main Changes

  • Add collaboration APIs and Redis-backed editing sessions for metadata, approval, and job:<jobID>.
  • Attach version, section_key, section_name, and section_type to config logs.
  • Save page-editable release plan snapshots, especially workflow input parameters, and diff them against the previous comparable version when viewing log details.
  • Mask sensitive values and collapse large text fields in diff responses.
  • Keep execute/retry/skip logs lightweight with status snapshots only.

Risk / Compatibility

  • Existing verb + spec save requests remain unchanged.
  • Each successful verb save creates one version; session_id is only used for collaboration state.
  • Snapshots store editable config rather than full workflow objects, which keeps storage growth under control and aligns diff output with page inputs.

Test

  • UAT verified update_name, update_approval, and update_release_job version/diff flows.
  • UAT verified collaboration WebSocket join, heartbeat, leave, section grouping, and username display.
  • go test ./pkg/microservice/aslan/core/release_plan/service

Contact


This change is Reviewable

@huanghongbo-hhb huanghongbo-hhb force-pushed the feat/release-plan-collaboration-v1 branch 2 times, most recently from 48a0028 to 40fd377 Compare May 22, 2026 06:24
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
@huanghongbo-hhb huanghongbo-hhb force-pushed the feat/release-plan-collaboration-v1 branch from e5bca43 to be82dce Compare June 9, 2026 08:21
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
@huanghongbo-hhb huanghongbo-hhb force-pushed the feat/release-plan-collaboration-v1 branch from a1284a9 to c4975b6 Compare June 11, 2026 08:50
Signed-off-by: huanghongbo-hhb <huanghongbo@koderover.com>
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.

1 participant