Skip to content

update crates-sync - #2173

Merged
benjamin-747 merged 2 commits into
gitmono-dev:mainfrom
benjamin-747:main
Aug 25, 2026
Merged

update crates-sync#2173
benjamin-747 merged 2 commits into
gitmono-dev:mainfrom
benjamin-747:main

Conversation

@benjamin-747

Copy link
Copy Markdown
Collaborator

No description provided.

Map campsite_user_id from commit bindings through the synced member map
so history, detail, and latest-commit UI show github/username instead of
raw public ids.

@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: 96e94bccba

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

crate_name,
v,
dl_base_url,
readonly_cache=readonly_crate_cache,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Preserve files in the readonly crate cache

When --readonly-crate-cache accepts an archive that passes _crate_file_seems_valid but later fails extraction, process_crate_version still unconditionally calls _try_remove_file(crate_path) at lines 905-908. For example, a nonempty tarball with an unexpected top-level layout passes the new readonly precheck and is then deleted after extraction fails, corrupting the freighter-owned shared cache despite the option's promise to never delete from it. Propagate the readonly state into processing and suppress this cleanup in readonly mode.

Useful? React with 👍 / 👎.

Comment on lines +18 to +20
const members = authors
.map((actor) => memberMap.get(actor) as SyncOrganizationMember | undefined)
.filter((m): m is SyncOrganizationMember => !!m)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Include deactivated members when resolving authors

For historical commits authored by a deactivated organization member, this map never contains the author because useMemberMap() calls useSyncedMembers() with its default includeDeactivated=false filter. The subsequent filter therefore permanently removes that author's avatar rather than merely waiting for member data; the same map-based resolution elsewhere falls back to an opaque campsite user ID. Resolve author identities from a member list that includes deactivated users.

Useful? React with 👍 / 👎.

@benjamin-747
benjamin-747 added this pull request to the merge queue Aug 25, 2026
Merged via the queue into gitmono-dev:main with commit 3b813a0 Aug 25, 2026
9 checks passed
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