Skip to content

build: drop the build script; the git SHA it baked in was never read - #52

Merged
lmarkmann merged 1 commit into
mainfrom
drop-build-script
Oct 12, 2026
Merged

lmarkmann merged 1 commit into
mainfrom
drop-build-script

Conversation

@lmarkmann

Copy link
Copy Markdown
Owner

Summary

build.rs set DATASEEK_GIT_SHA (with a -dirty marker that went stale after edits, as CodeRabbit noted on #49), but nothing has read it since it was added in a9768a1. Removing it also drops two git invocations from every build that reruns it. include in Cargo.toml loses the path; cargo package --list still holds src/, the README and the licenses.

Release line

build: drop the build script; the git SHA it baked in was never read (no release)

Checklist

  • just ci passes

@lmarkmann

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: lmarkmann/dataseek/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: adf6e1cf-7696-4dec-992b-ac44e9e11d22

📥 Commits

Reviewing files that changed from the base of the PR and between b82d87a and 3ad5b05.


📒 Files selected for processing (2)
  • Cargo.toml
  • build.rs

💤 Files with no reviewable changes (1)
  • build.rs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.



📝 Summary

Summary by CodeRabbit

  • Chores
    • Builds no longer automatically include Git commit identifiers or indicate whether the working tree has uncommitted changes.
    • The build script is no longer included in the packaged source; the source directory, README, and license files remain included.

Walkthrough

The build script that set DATASEEK_GIT_SHA is deleted. The package include list no longer names /build.rs.

Changes

Build metadata

Layer / File(s) Summary
Remove Git SHA build script
build.rs, Cargo.toml
The build script that detected Git state and set DATASEEK_GIT_SHA is deleted. /build.rs is removed from the package include list.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~5 minutes


Merge Risk: ⚪ Minimal · up to 3ad5b

This removes an unused build script and its package include entry. No readers of the removed variable were found, so the risk of breaking builds or packaging is minimal.

Pre-merge checks | Passed 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check Passed The title clearly states that the unused build script and baked Git SHA are being removed.
Description check Passed The description explains the removal of build.rs, the unused DATASEEK_GIT_SHA value, the Cargo.toml update, and validation results.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR


🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@codspeed

codspeed Bot commented Oct 12, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 20 untouched benchmarks


Comparing drop-build-script (3ad5b05) with main (b82d87a)

Open in CodSpeed

@lmarkmann

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@lmarkmann
lmarkmann merged commit fa423a7 into main Oct 12, 2026
4 checks passed
@lmarkmann
lmarkmann deleted the drop-build-script branch October 12, 2026 00:40
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