[bug]: Bidirectional GitHub issue sync rewrites issue bodies on GitHub at sync time (Mermaid flattened, lists reformatted, images re-hosted)
Maintainer thường phản hồi trong vòng 1 ngày
@harshdubey1234 đang làm issue này rồi.
Từ ngày 17/11/2026.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github, typescript
Hướng nghiên cứu
Start by tracing the bidirectional GitHub issue-sync flow and how issue bodies are serialized and sent back to GitHub; the issue does not name specific files or tests. Compare the bidirectional behavior with unidirectional sync and inspect the related reports #9073, #9077, #9071, and #9072. Done means syncing an unchanged GitHub issue does not rewrite its body, while intentional Plane edits still sync only changed fields.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Environment
Plane Commercial, self-hosted (Docker, installed with prime-cli), v3.3.3 then v4.0.1. GitHub integration with Project Issue Sync set to Bidirectional, issues synced through the plane label.
What happens
When an issue is synced to Plane, the GitHub App rewrites the issue's body on GitHub within a few minutes, although nobody edited the work item in Plane. The edit is attributed to the app in the issue's edit history. On one repository, 76 issue bodies were rewritten this way:
- Mermaid code blocks are flattened: the fenced block loses its line breaks (
flowchart LR A([MO load]) --> B{…} B -- no --> …), a strayLoadingline is appended, and GitHub no longer renders the diagram. - Images are re-hosted:
becomes. The alt text is lost and the URL is private to the Plane instance, so the image is broken for every GitHub reader (see #9073). - Lists are reformatted:
-becomes*,1.becomes1., a blank line is added after every item, nested lists are re-indented.
Steps to reproduce
- Set a project's Issue Sync to Bidirectional.
- Create a GitHub issue whose body has a Mermaid block, a nested list and a
user-attachmentsimage. - Add the
planelabel. - Within a few minutes, the issue's edit history shows an edit by the GitHub App with the changes above.
With Issue Sync set to Unidirectional, the same issue is not rewritten (checked: no edit after 5 minutes).
Expected
Syncing an issue into Plane never writes to the GitHub issue. A Plane → GitHub push happens only when someone edits the work item in Plane, and only for the fields they changed; it never sends back a re-serialised version of content that came from GitHub unchanged.
Related
#9073 (images), #9077 (closed as fixed on Plane Cloud; still reproducible on self-hosted v4.0.1), #9071, #9072.
- Ngôn ngữ chính
- TypeScript
- Star
- 63k
- Fork
- 6.5k
- Merge trung bình
- 2 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 70
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của makeplane/plane
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[bug]: Comment external_id is deduplicated per project instead of per work itemCó thể đã có người làm @MishraTanishq619 đã nhận 21 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
makeplane/plane#10195 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Missing optional chaining on actor_details and reaction_items in apps/space reactions and votesCó thể đã có người làm @ghazy2001 đã nhận 29 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
makeplane/plane#10111 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
makeplane/plane#10082 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của makeplane/plane
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
frontend testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
vendrabuck/HERD#1588 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue priority: low
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
art-audio
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100