Page MenuHomePhabricator

Remove sqlite_orm dependency from the project
ClosedPublic

Authored by marcin on Jan 18 2024, 9:19 AM.
Tags
None
Referenced Files
F2110141: D10710.id36710.diff
Tue, Jun 25, 6:50 PM
Unknown Object (File)
Mon, Jun 24, 12:55 AM
Unknown Object (File)
Wed, Jun 12, 9:34 PM
Unknown Object (File)
Thu, Jun 6, 8:12 AM
Unknown Object (File)
Sat, Jun 1, 7:19 AM
Unknown Object (File)
May 23 2024, 6:20 AM
Unknown Object (File)
May 21 2024, 11:33 AM
Unknown Object (File)
May 21 2024, 11:33 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
No Lint Coverage
Unit
No Test Coverage

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