Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP pipeline server, WIP "query" command, working search-text command #505

Merged
merged 5 commits into from May 1, 2022

Conversation

asutherland
Copy link
Contributor

This landing include a bunch of progress towards the pipeline server that's still in progress, plus a working implementation of livegrep/codesearch logic via a new search-text command.

Because the search-text command includes a new submodule as described at https://bugzilla.mozilla.org/show_bug.cgi?id=1762992#c1 and a bunch of our provisioning logic hardcodes the "master" branch for provisioning, I need to land this to validate vagrant destroy; vagrant up locally with the required fidelity. I will also trigger the automated provisioning process (which we know now detects errors after some fixes, woo!) because re-provisioning is absolutely required for tonic-build/prost-build in order for the search-text command to work.

The search-text changes also include changes to how we launch codesearch as discussed at https://bugzilla.mozilla.org/show_bug.cgi?id=1762992#c2 through https://bugzilla.mozilla.org/show_bug.cgi?id=1762992#c4 which was the actual plan arrived at. This should not regress router.py behavior but immediately following successful provisioning I will kick off a config1 run against the "dev" channel to sanity-check that I didn't break things ahead of the UTC22 run tonight.

The query command doesn't yet fully build pipelines, as that requires
additional hookup to the new speculative code for parallel pipelines
and junctions, plus new commands for search-text and results compiling.

But we can now have test coverage as we iterate on this.
@asutherland asutherland merged commit 0406d4e into mozsearch:master May 1, 2022
@asutherland asutherland deleted the graphviz-serve branch May 1, 2022 21:59
@asutherland
Copy link
Contributor Author

Server and VM provisioning succeeded.

asutherland added a commit to asutherland/mozsearch that referenced this pull request May 2, 2022
Now that our indexer checks run with the livegrep server running as
started by codesearch.py, we need to replicate the steps to build the
python livegrep gRPC bindings.  This was missed in local testing
because the VM runs both provisioner scripts.

This is a fixup to mozsearch#505
asutherland added a commit that referenced this pull request May 2, 2022
Now that our indexer checks run with the livegrep server running as
started by codesearch.py, we need to replicate the steps to build the
python livegrep gRPC bindings.  This was missed in local testing
because the VM runs both provisioner scripts.

This is a fixup to #505
@asutherland
Copy link
Contributor Author

The test config1.json run on the dev channel revealed we need the python gRPC livegrep build logic from the web-server provisioner, so #506 was created and landing and is provisioning now and I'll re-run the config1 build when it completes.

@asutherland
Copy link
Contributor Author

asutherland commented May 2, 2022

The config1 dev run completed and seems to operate across multiple repos correctly; there are some rust build warnings that I knew about but have another set of changes to land shortly that should moot the warning and don't have any provisioning or router.py risks (which is why I landed the things with those risks earlier in the day).

Searchfox produced warnings during indexing! The first 50 warnings:

warning: field is never read: `dump_pipeline`
warning: `tools` (lib) generated 1 warning
warning: `tools` (lib test) generated 1 warning (1 duplicate)
warning: field is never read: `dump_pipeline`
warning: `tools` (lib) generated 1 warning
warning: `tools` (lib test) generated 1 warning (1 duplicate)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant