Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013AJufoD68ZCmdcq1fhN2az
…s 도 Blob 실물과 대조 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013AJufoD68ZCmdcq1fhN2az
서브모듈을 없애면서 refresh 의 vault 변경 감지(부모 커밋의 서브모듈 포인터 비교)가 항상 "변경 없음"이 됐다. OneDrive 에서 vault 를 고쳐도 site-data, 원페이저가 다시 만들어지지 않는다. - sync-onedrive-to-blob: vault 트랙이 실제로 올리거나 지운 경로(생성물 제외)를 출력으로 넘기고, 있으면 Build With Vault Refresh 를 vault_changed_files 입력과 함께 디스패치한다. - build-with-vault-refresh: 그 입력을 VAULT_CHANGED_FILES 로 넘긴다. 입력 없는 수동 실행만 강제. 같은 ref 실행을 직렬화하고, 생성물 업로드에 cacheControlMaxAge 60 을 준다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013AJufoD68ZCmdcq1fhN2az
Blob 을 걷어내기 위한 첫 단계. 토큰 저장소 모듈(ops/scripts/lib/onedrive-token.mjs)을 두고, MAINT_OP=migrate-token-to-neon 이 Blob 토큰을 새 키로 암호화해 Neon onedrive_token 에 넣는다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013AJufoD68ZCmdcq1fhN2az
콘텐츠 정본인 개인 OneDrive hsol-info-blob 폴더를 사이트가 Microsoft Graph 로 직접 읽는다. Blob 은 복사본 캐시였을 뿐이라 동기화 단계와 함께 없앤다. 런타임 - src/lib/onedrive/graph.ts: Graph 읽기 클라이언트. 토큰은 Neon onedrive_token(암호화), 만료 시 리프레시 후 되쓰기 - site-data, 원페이저: OneDrive -> 로컬 vault -> 번들 폴백. Next 데이터 캐시 5분(stale-while-revalidate) - Ask Hansol 문맥: vault-context.ts 로 교체(blob_lookup -> vault_lookup) - /files/<키>: OneDrive assets/<키> 를 단기 다운로드 URL 로 받아 흘려보냄(Range, HEAD 유지) - /resume/pdf: OneDrive vault/object-views/onepager-<lang>.pdf CI - watch-onedrive.yml(매시): vault 변경 감지 -> 기사 Neon 반영과 dbId 역기록, 바뀐 경로로 빌드 디스패치. 기준선은 Neon onedrive_sync_state - build-with-vault-refresh: rclone 으로 vault 를 받고, 바뀐 생성물과 PDF 만 OneDrive 에 게시 - ops/scripts/lib/rclone-onedrive.mjs, with-onedrive.mjs, publish-generated.mjs - 제거: sync-onedrive-to-blob, pull-blob-to-vault, @vercel/blob 기타: /architecture 도식과 문구, AGENTS.md 갱신. tsconfig 가 OneDrive 링크 폴더를 훑지 않게 제외 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013AJufoD68ZCmdcq1fhN2az
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
사이트가 개인 OneDrive(hsol-info-blob)를 Microsoft Graph 로 직접 읽는다. Vercel Blob 의존과 동기화 단계를 없앴다.
🤖 Generated with Claude Code
https://claude.ai/code/session_013AJufoD68ZCmdcq1fhN2az