Skip to content

test(query): build the census token kind as a Cow - #1886

Merged
ScriptedAlchemy merged 2 commits into
masterfrom
fix/clone-census-cow
Sep 20, 2026
Merged

ScriptedAlchemy merged 2 commits into
masterfrom
fix/clone-census-cow

Conversation

@ScriptedAlchemy

@ScriptedAlchemy ScriptedAlchemy commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Master's push run at d508196 fails to compile the query crate's lib tests: #1881 made ConservativeCloneTokenV1::syntax_kind a Cow<'static, str> and #1882 added a census test that builds it from a String. Each PR was green on its own branch. Master's push run after each merge was cancelled by the following merge under the workflow's concurrency group, so the union was never compiled before it landed.

One-line fix: the test builds the kind with .into(). The second commit is #1885 folded here: the sessions git fixture disables auto maintenance and gc so provenance_capture_copies_no_git_objects stops seeing .git/objects/maintenance.lock in its before fingerprint, the mechanism #1869 fixed for the runtime-core fixture. The query crate's census tests and its clippy under -D warnings pass locally.

🤖 Generated with Claude Code

#1881 changed ConservativeCloneTokenV1::syntax_kind to Cow<'static, str>
and #1882 added a census test that builds it from a String. Each was
green on its own branch; master's push run after each merge was
cancelled by the next merge, so the union first compiled on master and
failed the clippy, feature-gates and core-storage jobs with E0308.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Sep 20, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 8c5c64b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 20, 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-09-20T07:29:07.564258Z c1c57ff PR opened
ℹ️ 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.

Git 2.47+ detaches maintenance after a commit and holds
.git/objects/maintenance.lock while it runs. The read-only capture test
fingerprints the git dir before and after two captures, so a lock that
appears in the first snapshot and is gone by the second reads as the
capture having touched the object store. The fixture now disables auto
maintenance and gc for every git call, as the runtime-core fixture does.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@ScriptedAlchemy
ScriptedAlchemy merged commit eee3dd4 into master Sep 20, 2026
49 of 51 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.

1 participant