This project is mirrored from https://gitee.com/cowcomic/pixie.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 20 Nov, 2021 1 commit
-
-
Vihang Mehta authored
Summary: Seems to be broken with PHP v8. Test Plan: arc commands should work Reviewers: michelle, zasgar Reviewed By: michelle Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D10235 GitOrigin-RevId: 6700246e8a9b255c13fb3e460ea0586a8326f9ed
-
- 26 Oct, 2021 3 commits
-
-
Vihang Mehta authored
Summary: Used `for file in **/*.yaml; do [ "$(sed -n '/^---/p;q' ${file})" ] || sed -i -e "1s/^/---\n/" ${file}; done` to create this diff. Manually fixed up places where there was a comment before the header and any other detected lint issues. Test Plan: N/A Reviewers: zasgar, michelle Reviewed By: zasgar Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D10060 GitOrigin-RevId: 6c122b6f6fe8ee2418ecb12e1f76aac01a939d28
-
Vihang Mehta authored
Summary: TSIA, now that linter is working again, it complained about these files. Test Plan: N/A Reviewers: zasgar, michelle Reviewed By: zasgar Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D10059 GitOrigin-RevId: 717460e75438dd3b88149d9978253f873cdb5690
-
Vihang Mehta authored
Summary: yamllint wasn't being run by arc since the arg was the last thing passed to the script. This fixes the lint run, parsing. There are too many errors to fix in one go, so I'll take a few passes at them and leave the rest for folks to fix as they go. Test Plan: Run `arc lint --trace` with a yaml file that shouldn't pass lint. Reviewers: michelle, zasgar Reviewed By: michelle Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D10057 GitOrigin-RevId: 268f6b83b0e4bcb3b9aa08cef11b7ffdf51145c3
-
- 19 Oct, 2021 1 commit
-
-
Vihang Mehta authored
Summary: This uses the yaml to figure out what certs to renew instead of relying on a cert dir locally. Also some additional cleanup to make this script easier to grok. Test Plan: Ran the renewal and cert creation scripts. Reviewers: michelle, philkuz Reviewed By: michelle Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D9983 GitOrigin-RevId: 1899f83f2d6b80e9f3b3ca2e1eafab67dae8bd6a
-
- 30 Sep, 2021 1 commit
-
-
Omid Azizi authored
Summary: More inclusive naming in DynamicTracer Test Plan: Existing tests Reviewers: #stirling, zasgar Reviewed By: zasgar Signed-off-by:
Omid Azizi <oazizi@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D9869 GitOrigin-RevId: 8410f6c1e8f616adad67bee3c04d92d97edf8c82
-
- 22 Sep, 2021 1 commit
-
-
Zain Asgar authored
Summary: BPF code runs in the Linux kernel and needs to be GPL. The rest of the code remains licensed as is, since BPF code runs in a separate environment. Test Plan: N/A Reviewers: oazizi, michelle Reviewed By: oazizi, michelle Differential Revision: https://phab.corp.pixielabs.ai/D9814 GitOrigin-RevId: 8d5bb75f3af70f9a0567b196a6aa8c56c1ac4ddd
-
- 15 Sep, 2021 3 commits
-
-
Vihang Mehta authored
Summary: Fork the existing text linter to disable stuff we don't care about. (It's not configurable). This should keep trailing whitespace in check. Test Plan: Ran `arc lint --everything` with only the text linter. Reviewers: zasgar, michelle Reviewed By: zasgar Differential Revision: https://phab.corp.pixielabs.ai/D9764 GitOrigin-RevId: 307782be21da31a439b949ac87963420a261a9f8
-
Vihang Mehta authored
Summary: Cleans up trailing whitespaces and newlines at end of file. Linter will be enabled in a followup Test Plan: N/A Reviewers: zasgar, michelle, oazizi, #third_party_approvers Reviewed By: zasgar, oazizi, #third_party_approvers Differential Revision: https://phab.corp.pixielabs.ai/D9751 GitOrigin-RevId: 804363597ea2d968615e14c72db4f8a8b51d0865
-
Vihang Mehta authored
Summary: Cleans up trailing whitespaces and newlines at end of file. Linter will be enabled in a followup Test Plan: N/A Reviewers: zasgar, michelle, #third_party_approvers Reviewed By: michelle, #third_party_approvers Differential Revision: https://phab.corp.pixielabs.ai/D9750 GitOrigin-RevId: 085c3bbbb3f97bc1b61c1009c7895b49b8e61012
-
- 13 Sep, 2021 1 commit
-
-
Vihang Mehta authored
Summary: TSIA, the clients from the etcd and NATS repos are too old and incompatible with our k8s api package. So generate clients instead. We can then use these to modify the etcd/NATS resources. Test Plan: Added some manual fetching and logging of etcdcluster and natscluster resources in the operator using the generated clients. Reviewers: michelle, philkuz Reviewed By: michelle Differential Revision: https://phab.corp.pixielabs.ai/D9733 GitOrigin-RevId: 4e9bad8b86e0c7464e8f0ae711018ef7ac193834
-
- 07 Sep, 2021 1 commit
-
-
Vihang Mehta authored
Summary: Using a generator means that we get access to more verbs, fakes for testing and it is easier to keep this up to date. Test Plan: Existing tests, skaffold operator Reviewers: michelle, philkuz Reviewed By: michelle, philkuz Differential Revision: https://phab.corp.pixielabs.ai/D9692 GitOrigin-RevId: 911736599f2ae9ecbfa21be19b0b3884b8528384
-
- 29 Jul, 2021 2 commits
-
-
Vihang Mehta authored
Summary: TSIA. Changes proto name too but that should be safe since there are no consumers in prod yet. Test Plan: N/A Reviewers: zasgar, michelle Reviewed By: michelle Differential Revision: https://phab.corp.pixielabs.ai/D9355 GitOrigin-RevId: 56f837af63eb357a4bb8c80ff31e4d90332b5b93
-
Natalie Serrino authored
Summary: We want cloud to pass the sentry info to Vizier via the CRD. Additionally, discovered while adapting this diff that we were not doing basic text linting on protobuf, so that is fixed now. Test Plan: will run an e2e test locally Reviewers: michelle, vihang Reviewed By: vihang JIRA Issues: PP-2814 Differential Revision: https://phab.corp.pixielabs.ai/D9345 GitOrigin-RevId: 982f573f87c0403312ce31398917912e6469becb
-
- 06 Jul, 2021 1 commit
-
-
Vihang Mehta authored
Summary: arcanist runs eslint once per file which causes us to incur the cost of bringing up the js runtime over and over again. Instead hook into willLint and didLint to run eslint once with all the paths passed in and then parse the combined output. This should significantly speed up `arc lint` on js files. Test Plan: Run `arc lint` on js files. Before: ``` time arc lint src/ui/src/components/auth/auth-box.tsx src/ui/src/components/auth/auth-error.tsx src/ui/src/components/auth/google-button.tsx src/ui/src/components/auth/message.tsx src/ui/src/components/auth/pixienaut-balloon.tsx src/ui/src/components/auth/pixienaut-box.tsx src/ui/src/components/auth/pixienaut-octopus.tsx src/ui/src/components/auth/pixienaut-toilet.tsx src/ui/src/components/auth/signup-marcom.tsx src/ui/src/components/auth/username-password-button.tsx OKAY No lint messages. arc lint src/ui/src/components/auth/auth-box.tsx 117.52s user 4.33s system 704% cpu 17.285 total ``` After: ``` time arc lint src/ui/src/components/auth/auth-box.tsx src/ui/src/components/auth/auth-error.tsx src/ui/src/components/auth/google-button.tsx src/ui/src/components/auth/message.tsx src/ui/src/components/auth/pixienaut-balloon.tsx src/ui/src/components/auth/pixienaut-box.tsx src/ui/src/components/auth/pixienaut-octopus.tsx src/ui/src/components/auth/pixienaut-toilet.tsx src/ui/src/components/auth/signup-marcom.tsx src/ui/src/components/auth/username-password-button.tsx OKAY No lint messages. arc lint src/ui/src/components/auth/auth-box.tsx 16.31s user 0.93s system 158% cpu 10.884 total ``` Reviewers: michelle, zasgar, nlanam Reviewed By: nlanam Differential Revision: https://phab.corp.pixielabs.ai/D9057 GitOrigin-RevId: 6f9151c50f7cc1853dfe5fb55dd48923eb7620fc
-
- 14 Jun, 2021 1 commit
-
-
Nick Lanam authored
Summary: This is a [complicated topic](https://yarnpkg.com/getting-started/migration#switching-to-plugnplay). In short, Yarn can now replace `node_modules` with a virtual filesystem introspecting `.zip` files. This has many benefits, but it takes some work to enable. Prerequisites: - D8919: Namespaced absolute imports - Changed `node_modules` references out for `require.resolve` and `yarn run ...` - Made other references more explicit / less ambiguous - Made some dependencies explicit instead of transitive Enabling Plug n' Play (PnP): - `.yarnrc.yml` was updated to actually turn PnP on. - `yarn install` - This created `.pnp.js` and deleted `node_modules` (in favor of `.yarn/cache`). Supporting the change: - Updated ignore files, lint files, Bazel files, etc. - Enabled [Yarn's SDK](https://yarnpkg.com/getting-started/editor-sdks) to support VS Code go-to-definition - Rewrote the Python license checker to be in JS, so that `yarn pnpify` could trick it into ...
-
- 10 Jun, 2021 1 commit
-
-
Nick Lanam authored
Summary: Upgrades Yarn to version 2 following [these instructions](https://yarnpkg.com/getting-started/migration). Doesn't add PnP just yet since that's big enough for its own diff. Results: a noticeably faster but not lightning-fast install; slightly faster build; bundle runs a bit smoother in the browser too (this is partly due to dropping `@pixie-labs/components` earlier). Test Plan: `yarn install && yarn dev`. `yarn test`. Everything should work as it did before, but a bit faster and smoother. Reviewers: michelle, vihang, #third_party_approvers Reviewed By: michelle, #third_party_approvers JIRA Issues: PC-828 Differential Revision: https://phab.corp.pixielabs.ai/D8897 GitOrigin-RevId: 0ba438cdd31f30bba871da860cf00e26670e766e
-
- 05 Jun, 2021 1 commit
-
-
Nick Lanam authored
Summary: This one wasn't quite so trivial as `@pixie-labs/api-react`, but still pretty straightforward: - Moves the source files over to `@pixie-labs/ui` - Deletes no-longer-applicable support files - Updates import paths everywhere - Updates scripts for regenerating GQL schema and TS protos - Removes all references to the package's former existence - Re-runs Yarn (yes, more lock updates) This diff only moves the code back and fixes its usage; it doesn't touch PC-981 or PC-982. Test Plan: Smoke test. Run unit tests. Don't forget you'll need to re-run `yarn install && yarn build_deps` on this one since an entire package ceased to exist. Reviewers: michelle, vihang, philkuz, #third_party_approvers Reviewed By: vihang, #third_party_approvers JIRA Issues: PC-979, PC-980 Differential Revision: https://phab.corp.pixielabs.ai/D8873 GitOrigin-RevId: 2de4793932939ece01655d77f5f6a3a904ebb61b
-
- 03 Jun, 2021 1 commit
-
-
Omid Azizi authored
Summary: No longer needed. Test Plan: Jenkins Reviewers: #stirling, vihang Reviewed By: vihang Differential Revision: https://phab.corp.pixielabs.ai/D8826 GitOrigin-RevId: 16549aebb937366e161879b6381949481864a3c7
-
- 27 May, 2021 1 commit
-
-
Omid Azizi authored
Summary: Include a toy app we can reference in the blog Test Plan: Manual Reviewers: #stirling, yzhao Reviewed By: #stirling, yzhao Subscribers: yzhao Differential Revision: https://phab.corp.pixielabs.ai/D8674 GitOrigin-RevId: c8d8e97f4e0471df392511db83d31596080ecb28
-
- 14 May, 2021 1 commit
-
-
Yaxiong Zhao authored
Test Plan: Jenkins Reviewers: #stirling, oazizi Reviewed By: #stirling, oazizi Differential Revision: https://phab.corp.pixielabs.ai/D8611 GitOrigin-RevId: 8bf67f43f219a79de45e939b80d289107f3f859f
-
- 20 Apr, 2021 3 commits
-
-
Vihang Mehta authored
Summary: TSIA Test Plan: N/A Reviewers: zasgar Reviewed By: zasgar Differential Revision: https://phab.corp.pixielabs.ai/D8290 GitOrigin-RevId: 0f564fdf7414b2bd9ecf4766630e7868569d3bfd
-
Zain Asgar authored
Summary: Cleanup copying flow, fix lint issues. Add sky files to linters. Test Plan: tested script manually Reviewers: michelle, vihang, philkuz Reviewed By: vihang JIRA Issues: PP-2507 Differential Revision: https://phab.corp.pixielabs.ai/D8289 GitOrigin-RevId: cd5ed45c4eec15089989a7da5a57fec51d9bcfce
-
Michelle Nguyen authored
Summary: We are removing private submodules from our repo. The cpplint version we are using is based off of `d6054228db5daf0a730d627292de75ebb5e04948` Test Plan: run `arc lint` Reviewers: vihang, zasgar, #third_party_approvers Reviewed By: zasgar, #third_party_approvers Differential Revision: https://phab.corp.pixielabs.ai/D8286 GitOrigin-RevId: e788dd75a2491bd76c9f15b4939c00c6aac9783a
-
- 19 Apr, 2021 4 commits
-
-
Vihang Mehta authored
Summary: TSIA. Now all submodules are located together. Test Plan: N/A Reviewers: zasgar, michelle, #third_party_approvers Reviewed By: zasgar, #third_party_approvers Differential Revision: https://phab.corp.pixielabs.ai/D8266 GitOrigin-RevId: ee18e0e2f54ef0754a11c364938034c7427f8356
-
Vihang Mehta authored
Summary: TSIA Test Plan: NA Reviewers: zasgar, michelle, #third_party_approvers Reviewed By: michelle, #third_party_approvers Differential Revision: https://phab.corp.pixielabs.ai/D8260 GitOrigin-RevId: 94839f13e82a3b61705f5d6ce92a481d40526dec
-
Vihang Mehta authored
Summary: TSIA Test Plan: N/A Reviewers: zasgar, michelle Reviewed By: michelle Differential Revision: https://phab.corp.pixielabs.ai/D8258 GitOrigin-RevId: afb11cfcb277186a2bd681ecd46fccc351b8382b
-
Vihang Mehta authored
Summary: As per guidance from oazizi Test Plan: N/a Reviewers: zasgar, michelle, oazizi Reviewed By: michelle Differential Revision: https://phab.corp.pixielabs.ai/D8255 GitOrigin-RevId: 8fac789f7e2642b09ea10b5c5b6def59145e5868
-
- 18 Apr, 2021 2 commits
-
-
Zain Asgar authored
Summary: TSIA Test Plan: n/a Reviewers: michelle, vihang Reviewed By: michelle JIRA Issues: PP-2566 Differential Revision: https://phab.corp.pixielabs.ai/D8244 GitOrigin-RevId: a606c02e6c05f580fbd290cbf730f6f5c8bdd14d
-
Zain Asgar authored
Summary: TSIA Test Plan: existing files. Reviewers: michelle, vihang Reviewed By: michelle JIRA Issues: PP-2566 Differential Revision: https://phab.corp.pixielabs.ai/D8243 GitOrigin-RevId: 9d06b2500f659d56e9d9ef6e6c6cb67e9c6faf85
-
- 17 Apr, 2021 1 commit
-
-
Zain Asgar authored
Summary: Add license checker and linter. Will add the license separately, to prevent noise in review. Test Plan: Tested on several license variants. Reviewers: vihang, michelle Reviewed By: michelle JIRA Issues: PP-2566 Differential Revision: https://phab.corp.pixielabs.ai/D8240 GitOrigin-RevId: ab8509355d4bcd23f9ec3557f4a425ee4d49e1c0
-
- 18 Apr, 2021 2 commits
-
-
Vihang Mehta authored
Summary: TSIA Test Plan: N/A Reviewers: zasgar, michelle Reviewed By: zasgar Differential Revision: https://phab.corp.pixielabs.ai/D8235 GitOrigin-RevId: 05034a6561712ac55a7b204012f1528bf1c405ce
-
Vihang Mehta authored
Summary: TSIA this is what arcanist wants Test Plan: n/a Reviewers: zasgar, michelle Reviewed By: zasgar Differential Revision: https://phab.corp.pixielabs.ai/D8234 GitOrigin-RevId: 79b937d23eff11ed83b6ec6b9bf769a9db805e92
-
- 14 Apr, 2021 1 commit
-
-
Vihang Mehta authored
Summary: Move linters and arc plugins for linters into tools Test Plan: N/A Reviewers: zasgar, michelle, #third_party_approvers Reviewed By: zasgar, #third_party_approvers Differential Revision: https://phab.corp.pixielabs.ai/D8154 GitOrigin-RevId: 76a7af8f71dd27a5fdbbbb992cb0876e389b7dbd
-
- 13 Apr, 2021 1 commit
-
-
Vihang Mehta authored
Summary: This splits up the generated file checker tests into 3, uses `.arcunit` to specify includes when they should be triggered, uses a base class for the shared code and cleans up some of the bazel querying to figure out targets. Test Plan: Made changes that should trigger the unit tests. Ran `arc unit` Before running generate scripts: {F132932} After running generate scripts: {F132933} Reviewers: michelle, zasgar Reviewed By: michelle Differential Revision: https://phab.corp.pixielabs.ai/D8138 GitOrigin-RevId: 96587005672e7e7aed9d8e5d7e1f3f8137fb4b55
-
- 12 Apr, 2021 4 commits
-
-
Zain Asgar authored
Summary: Trying to cleanup top-level folders. This moves chef under the tools directory. Test Plan: N/A Reviewers: michelle, vihang, #third_party_approvers Reviewed By: vihang, #third_party_approvers Differential Revision: https://phab.corp.pixielabs.ai/D8133 GitOrigin-RevId: 231419eb22fc42c03752cadcf7ed19e15109cc51
-
Vihang Mehta authored
Summary: The gazelle checker was run as an arcanist unit test. It would modify and autofix the files underneath you but then send out the diff anyway causing folks to have to `arc diff` again. Instead, run gazelle in diff mode, and as an arcanist linter and send the diff to arcanist so that `arc` will ask and apply the patch before sending the diff out. (Sadly arcanist doesn't accept the patch format, it take a set of original content plus new content, so generating the diff for arcanist is a bit ... heavy handed.) Test Plan: Make some changes that would make gazelle unhappy. Run `arc lint` {F127064} Reviewers: zasgar, michelle Reviewed By: zasgar Differential Revision: https://phab.corp.pixielabs.ai/D8131 GitOrigin-RevId: b7523e14821ee959e4f1f3a24c49ea348512f711
-
Vihang Mehta authored
Summary: The linter to check that targets in `//experimental` were marked as manual was written as a `unit test`. Additionally the linter relied on custom build rules and checking those rules and as a result missed targets like `//experimental/stirling/proto_data_model/proto:http_record_pl_go_proto` which aren't manual since they use `pl_go_proto_library` (due to a lack of a `pl_exp_go_proto_library`). Instead let's use bazel to query targets that are not marked as manual and convert this check into a script and regex linter. It's also easier to not have to create custom targets just to mark things as manual and instead rely on the linter to enforce the check on normal targets. Used buildozer to rewrite all rules in `experimental` to have a manual tag and found a bug in `pl_bpf_cc_resource` where tags weren't being passed down by the macro and fixed it. Test Plan: Unmarked a rule in experimental as manual. Ran `arc lint`. {F127036} Reviewers: zasgar, michelle Reviewed By: zasgar, michelle Differential Revision: https://phab.corp.pixielabs.ai/D8129 GitOrigin-RevId: 08dc4a93188e178bd12058aff935da0b52f55e79
-
Vihang Mehta authored
Summary: We currently run prototool as a "unit test" for arcanist and run it over the entire repo. Instead, let's run it as a linter. This means the checker will run only on `.proto` files and one at a time instead of the entire repo. This will also make lint messages show up inline in the diff. Downgrade from error to warnings since we do sometimes make what would be considered a breaking change (such as renaming a field) or removing an unused field. So these are warnings and should be treated as such. Test Plan: Made some breaking changes and ran `arc lint` {F127032} Reviewers: zasgar, michelle Reviewed By: michelle Differential Revision: https://phab.corp.pixielabs.ai/D8128 GitOrigin-RevId: 70c4a66a0f233f39a14b2a8b177236dc157f5818
-
- 09 Apr, 2021 1 commit
-
-
Vihang Mehta authored
Summary: This moves them out of linters since we both have lint and "unit test" engines in there. Cleans up the organization of all the subfolders and makes the naming a bit more consistent. Adds a missing License file. Test Plan: `arc lint` and `arc unit` should continue to work. Reviewers: zasgar, michelle Reviewed By: zasgar Differential Revision: https://phab.corp.pixielabs.ai/D8105 GitOrigin-RevId: 9677abf9f9b3e7f460413ba54fdaeac5d55a431b
-