Skip to content

Update persistence README paths to crates/persistence#9405

Open
anshul-garg27 wants to merge 2 commits intowarpdotdev:masterfrom
anshul-garg27:fix/persistence-readme-paths
Open

Update persistence README paths to crates/persistence#9405
anshul-garg27 wants to merge 2 commits intowarpdotdev:masterfrom
anshul-garg27:fix/persistence-readme-paths

Conversation

@anshul-garg27
Copy link
Copy Markdown

Description

Spotted while running another doc audit: app/src/persistence/README.md still describes the migration workflow in terms of the pre-open-source layout. schema.rs and schema.patch actually live under crates/persistence/ now, and the doc also still tells contributors to cd <warp-internal repo>.

Three small text-only fixes:

  • app/src/persistence/schema.rscrates/persistence/src/schema.rs
  • app/src/persistence/schema.patchcrates/persistence/schema.patch
  • cd <warp-internal repo>cd <repo root> (this is the public repo now; contributors clone it under whatever name they pick)

I deliberately left the our fork of diesel_cli paragraph alone — script/install_cargo_build_deps calls cargo binstall --force -y diesel_cli which suggests it currently uses upstream, but I'd rather a maintainer confirm whether the bundled-SQLite behavior the README claims is still accurate before rewording that section.

Testing

Markdown only — nothing to run.

Server API

No server changes.

Agent Mode

Not applicable.

Changelog Entries

None.

`schema.rs` and `schema.patch` were moved to `crates/persistence/` as
part of opening up the source tree, but the migration README still
pointed at the old `app/src/persistence/` paths and referenced the
`<warp-internal repo>` directory name.

- `app/src/persistence/schema.rs` -> `crates/persistence/src/schema.rs`
- `app/src/persistence/schema.patch` -> `crates/persistence/schema.patch`
- `cd <warp-internal repo>` -> `cd <repo root>`

Doc-only change.
@cla-bot cla-bot Bot added the cla-signed label Apr 29, 2026
@oz-for-oss
Copy link
Copy Markdown

oz-for-oss Bot commented Apr 29, 2026

@anshul-garg27

I'm starting a first review of this pull request.

I requested changes on this pull request and posted feedback.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

I'm re-reviewing this pull request in response to a review request.

You can view the conversation on Warp.

I approved this pull request. No matching stakeholder was found for the changed files, so no human reviewers were requested.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

Overview

This PR updates several stale persistence README references from the old app/src/persistence layout to crates/persistence.

Concerns

  • The README still has another stale schema.patch path in the creation instructions: git diff -U6 > app/src/persistence/schema.patch. That should also be updated to crates/persistence/schema.patch; otherwise contributors following the workflow will still write the patch to the old location. This line is outside the inlined diff, so it is summarized here rather than left as an inline comment.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@anshul-garg27
Copy link
Copy Markdown
Author

Good catch — fixed in the follow-up commit. The instruction at the bottom of the README now writes the patch to crates/persistence/schema.patch to match the section above and the actual file location.

@anshul-garg27
Copy link
Copy Markdown
Author

/oz-review

Copy link
Copy Markdown

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

Overview

This PR updates app/src/persistence/README.md to point migration contributors at the current crates/persistence schema and patch locations and replaces the old internal-repo checkout wording with a repo-root reference.

Concerns

No blocking concerns found. The changed paths match files present in the repository, and the diff is documentation-only with no security-relevant code or configuration changes.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant