Skip to content

fix(bigchat)!: 모집글 metadata 기반 신청 대상 식별과 시트 오류 안내 - #173

Open
progresshans wants to merge 2 commits into
refactor/bigchat-storage-boundaryfrom
fix/bigchat-identity-and-sheet-errors
Open

progresshans wants to merge 2 commits into
refactor/bigchat-storage-boundaryfrom
fix/bigchat-identity-and-sheet-errors

Conversation

@progresshans

@progresshans progresshans commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

스택 2/5 · 검토 순서 #172 → #173 → #176 → #174 → #177 · 기반 #172 · #166을 대체합니다.

문제와 동작

기존 신청·취소는 스레드의 시트 링크, 이메일과 현재 행 번호에 의존해 다른 탭이나 다른 참여자의 행을 변경할 수 있었습니다. 응답이 유실되면 중복 등록이 생기기도 했습니다.

모집글과 참여자를 Sheets metadata로 식별하고, 행 삽입·값·metadata를 원자적으로 저장합니다. 반응 순서 보존과 리마인더 전환은 #176, 공통 재시도와 시간 예산은 #174, 실제 Sheets 검증 도구는 #177에서 다룹니다.

저장소와 상태

  • 채널+모집글 ts를 문서 기록과 탭 binding에 연결합니다. 스레드 링크는 쓰기 대상을 결정하지 않습니다.
  • 참여자를 Slack 사용자 ID로 식별해 해당 행의 metadata에 남깁니다. 취소는 회원 정보를 조회하지 않고 그 사람의 A:D만 비워 다른 열의 메모를 보존합니다.
  • 행 삽입·값·metadata 생성은 원자적 batch로 수행합니다. 재신청의 고유 ID가 재실행을 막고, 쓰기 응답이 유실되면 결과를 먼저 확인합니다.
  • 신규 신청·재신청은 맨 아래에, 중복 신청·정보 갱신은 기존 위치에 반영합니다. 새 탭은 네 번째 위치에, 탭이 세 개보다 적으면 맨 뒤에 만듭니다.
  • 같은 모집글의 재생성은 기존 탭을 재사용합니다. 이름 충돌, 삭제된 탭, 권한·통신 장애를 멘션·모달·신청·취소에서 안내합니다.
  • 일반 대화의 :gogo:는 조용히 무시합니다. 조회가 실패하면 봇이 그 모집글에 올린 시트 링크가 스레드에 있을 때만 안내합니다.
  • 같은 Slack 이벤트 안에서 이미 확인한 binding은 다시 읽지 않습니다.

호환 범위

  • 배포 전에 만든 모집글은 신청·취소 대상으로 지원하지 않으며 자동 마이그레이션하지 않습니다. 기존 시트 데이터는 유지합니다.
  • 단일 인스턴스·단일 worker를 전제로 합니다.
  • 전체 시트·A:D 범위·기본 필터 정렬은 지원합니다. 셀 값만 옮기거나 덮어쓰는 방식은 지원하지 않습니다.
  • 취소된 빈 A:D 행은 인원 집계에서 제외해야 합니다. metadata 보존·정리 정책은 별도 운영 과제입니다.
  • 이 PR 단독으로는 조회를 재시도하지 않습니다. 공통 재시도와 90초 예산은 #174에서 적용합니다.

검증

  • 로컬 make ci 통과: 앱 테스트 567개, 포맷·린트·타입 검사.
  • 실제 Sheets 검증은 스택 전체를 대상으로 #177에서 실행합니다.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T07:27:05.436817Z 0445141 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Comment thread src/integrations/bigchat_store.py Resolved
@progresshans progresshans changed the title fix(bigchat): 신청·취소 대상 식별과 시트 오류 처리 개선 fix(bigchat)!: 모집글 metadata 기반 신청 대상 식별과 시트 오류 안내 Nov 5, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9de6d464e6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/integrations/bigchat_store.py Resolved
Comment thread src/integrations/bigchat_store.py Resolved
progresshans and others added 2 commits November 5, 2026 16:18
- Reuse the binding that find/create verified within the same event, so
  register/cancel no longer re-read it, and drop the redundant read after
  an atomic registration batch. A registration after lookup now reads
  Sheets 3 times instead of 6, a cancellation 2 times instead of 4.
- Keep reporting a deleted tab on cancel when the binding is reused.
- If the lookup itself fails, read the thread once and notify only when it
  carries the sheet link the bot posted for that post. :gogo: on ordinary
  posts and comments stays silent, even during a Sheets outage.
- Tell users when there was nothing to cancel, and fix the cancellation
  notice wording.
- README: document ignored casual reactions, blank rows left by
  cancellations, posts created before deployment, and the metadata limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0445141fa5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/integrations/bigchat_store.py Resolved
@progresshans
progresshans removed this pull request from stack #175 November 5, 2026 07:32
@progresshans
progresshans added this pull request to stack #178 November 5, 2026 07:32
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.

2 participants