Repository navigation
fix(omp): allow quoted # in OMP-managed YAML (treat # as comment only outside quotes) - #5787
Conversation
Co-Authored-By: Epinephrine <luvs01@hanmail.net>
…range comment scan Co-Authored-By: Epinephrine <luvs01@hanmail.net>
…rator blanks - A '- ' indicator opens a new node: carrying scalarStarted across it made a ' #' inside a later quoted item read as a comment and refuse the patch - A blank after a plain scalar folds only when deeper content follows; a shallower next line means the blank is a separator and stays outside the leaf range instead of being deleted on refresh/remove Co-Authored-By: Epinephrine <luvs01@hanmail.net>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedNext included review available in 5 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Repository: lidge-jun/opencodex/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
리뷰 · 우선순위 71 / 80이 풀리퀘스트는 바탕이 이제는 따옴표가 열릴 수 있는 자리에서만 따옴표 모드로 들어가요. 작은따옴표와 큰따옴표 안의 테스트는 헤드 라인 - 라인 - 메인테이너의 판단이 필요한 지점 이번 글의 목표가 모델 id의 따옴표 안 너의 추천 넣어도 돼요. 바탕은 모델 id는 한 줄 따옴표라서, 이 댓글은 grok-bot이 작성했습니다 |
|
由щ럭 媛먯궗?⑸땲?? ?대쾲 PR??紐⑺몴 踰붿쐞??紐⑤뜽 id???곗샂???? |
Ingwannu
left a comment
There was a problem hiding this comment.
Reviewed exact head 782b3798ff94d16e130e944a32ccf8d1a6718a09. The scanner distinguishes quoted scalar content from comments without treating quote characters inside an already-started plain scalar as delimiters, carries quote/scalar state across owned continuation lines, and resets sequence-item state. The source-preserving parse/semantic comparison remains the final fail-closed guard. Focused bounded suite passed 18/18 under CPUQuota=200%, MemoryMax=4G, swap disabled. The previous Actions run was cancelled rather than test-failed; I re-ran its unsuccessful jobs.
|
Current-head verification follow-up for |
|
✅ Deterministic PR hygiene checks passed. |
Summary
The OMP managed-YAML patcher treated every
#as a comment start, so a model id like"foo#bar"was seen as"fooplus an inline comment — corrupting or refusing managed edits.The comment scan now carries YAML scalar state: quote mode only opens where a scalar may begin, single/double-quoted strings and multiline continuations keep
#as content, sequence items reset scalar state per item, and blank separators before siblings are preserved.Verification
bun test tests/clients/omp-yaml-source-inline-comments.test.ts— 18 pass, covering quoted hashes, plain-scalar continuations, and separator blanks.Checklist
dev