Page MenuHomePhabricator

Remove sqlite_orm dependency from the project
ClosedPublic

Authored by marcin on Jan 18 2024, 9:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 14, 12:19 AM
Unknown Object (File)
Mon, May 13, 12:59 AM
Unknown Object (File)
Apr 13 2024, 10:28 PM
Unknown Object (File)
Mar 7 2024, 11:01 AM
Unknown Object (File)
Mar 7 2024, 10:31 AM
Unknown Object (File)
Mar 7 2024, 9:53 AM
Unknown Object (File)
Mar 7 2024, 9:41 AM
Unknown Object (File)
Mar 7 2024, 9:18 AM
Subscribers

Details

Reviewers
kamil
michal
varun
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rCOMM2029d7cd68a8: Remove sqlite_orm dependency from the project
Summary

This differential removes sqlite orm dependency from the project.

Test Plan

Build the app.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a reviewer: Restricted Owners Package.Jan 18 2024, 9:19 AM
varun added a subscriber: varun.

how about web/database/_generated/comm_query_executor.wasm? are there any updates needed there?

web/scripts/run_emscripten.sh
161 ↗(On Diff #35801)

this line is hiding this file during review, just a heads up. might want to do what we do in web/scripts/codegen-identity-grpc.sh to avoid hiding it

This revision is now accepted and ready to land.Jan 22 2024, 7:31 PM

how about web/database/_generated/comm_query_executor.wasm? are there any updates needed there?

This diff doesn't cause any changes in web/database/_generated/comm_query_executor.wasm compared to previous diffs in the stack. I executed yarn build-db-wasm on every diff in the stack and included changes in wasm file if there were any. As of this differential sqlite_orm dependency is not used in the code so it is not compiled and hence removing the header doesn't change the binary. Finally if it changed then Emscripten CI would fail on this diff.

web/scripts/run_emscripten.sh
161 ↗(On Diff #35801)

I think Emscripten CI is enough for this purpose. If diff changes WASM but new WASM is not included then Emscripten CI will fail the diff.

web/scripts/run_emscripten.sh
161 ↗(On Diff #35801)

@varun is just saying that before his comment, Phabricator was auto-hiding this file because of the @generated here. His proposal is to look at web/scripts/codegen-identity-grpc.sh and see how it's handled there

kamil added inline comments.
web/scripts/run_emscripten.sh
161 ↗(On Diff #35801)

good suggestion @varun, we should do that

web/scripts/run_emscripten.sh
161 ↗(On Diff #35801)

Addressed in D10704