Commit Graph

2263 Commits

Author SHA1 Message Date
kevin zhao
000796f75b Fix exec_policy tests after rebase 2025-12-03 01:51:37 -08:00
kevin zhao
a12a6f6364 simplifying types 2025-12-03 01:44:56 -08:00
kevin zhao
eb389a9f7f update cli with new behavior 2025-12-03 01:44:56 -08:00
kevin zhao
50257cffcc fix rebase 2025-12-03 01:43:15 -08:00
kevin zhao
c8b71f2c6a inlining and cleanup tests 2025-12-03 01:40:57 -08:00
kevin zhao
42a09443b4 update messaging 2025-12-03 01:37:05 -08:00
kevin zhao
57ba6f7de1 cleanup forbidden messaging 2025-12-03 01:37:05 -08:00
kevin zhao
696a543fec feat: integrating heuristics-based fallback in execpolicy 2025-12-03 01:32:53 -08:00
kevin zhao
4bae48282c simplifying types 2025-12-02 23:21:26 +00:00
kevin zhao
9cc39471f2 fixing execpolicy.md 2025-12-02 23:04:57 +00:00
kevin zhao
0505513817 update cli with new behavior 2025-12-02 23:03:22 +00:00
kevin zhao
a26955c75d fmt exec_policy imports 2025-12-02 22:42:48 +00:00
kevin zhao
4e1ba60c6b fix rebase 2025-12-02 22:42:48 +00:00
kevin zhao
acc7c999fb fix test 2025-12-02 22:42:48 +00:00
kevin zhao
88e7a3aca4 remove unecessary import 2025-12-02 22:42:48 +00:00
kevin zhao
cac03d5e6b simplify approval overlay logic 2025-12-02 22:42:48 +00:00
kevin zhao
28daeaeec0 delete weird test 2025-12-02 22:42:48 +00:00
kevin zhao
1d14bc51e8 inlining and cleanup tests 2025-12-02 22:42:48 +00:00
kevin zhao
bf897bf45d inlining 2025-12-02 22:42:48 +00:00
kevin zhao
3e570a8824 update messaging 2025-12-02 22:42:48 +00:00
kevin zhao
ba34d0ca96 cleanup forbidden messaging 2025-12-02 22:42:48 +00:00
kevin zhao
a13ca36702 delete useless comment 2025-12-02 22:42:48 +00:00
kevin zhao
7edc990705 improve messaging 2025-12-02 22:42:48 +00:00
kevin zhao
a91a00e8a7 feat: integrating heuristics-based fallback in execpolicy 2025-12-02 22:42:48 +00:00
kevin zhao
a69bd729db improved behavior for dont ask again for this prefix 2025-12-02 22:42:48 +00:00
kevin zhao
338ec43a3a fix rebase bug 2025-12-02 17:42:25 -05:00
kevin zhao
a10a775ad7 add docstring 2025-12-02 17:38:52 -05:00
kevin zhao
ecf0f163c6 docs 2025-12-02 17:38:52 -05:00
kevin zhao
d6e85f9325 only cloning when needed 2025-12-02 17:38:52 -05:00
kevin zhao
3460d33d66 fix approvals test 2025-12-02 17:38:52 -05:00
kevin zhao
bfe5b194ca fix formatting 2025-12-02 17:38:52 -05:00
kevin zhao
3dc54e6bce fixup allow_prefix_if_applicable 2025-12-02 17:38:51 -05:00
kevin zhao
d2e5d40762 running test with single thread 2025-12-02 17:38:51 -05:00
kevin zhao
08a85a07fd fix compile error 2025-12-02 17:38:51 -05:00
kevin zhao
00bd765957 fix flaky test 2025-12-02 17:38:51 -05:00
kevin zhao
a610663a36 fix compile 2025-12-02 17:38:51 -05:00
kevin zhao
48e424c7d4 . 2025-12-02 17:38:51 -05:00
kevin zhao
4a9089294f integration test 2025-12-02 17:38:50 -05:00
kevin zhao
b3d8a7cd38 updating phrasing 2025-12-02 17:38:50 -05:00
kevin zhao
945074d6f0 fixing rw lock bug causing tui to hang 2025-12-02 17:38:50 -05:00
kevin zhao
dc901ff21a undo diff 2025-12-02 17:38:50 -05:00
kevin zhao
d67b1f7d32 cleanup exec_policy getters 2025-12-02 17:38:50 -05:00
kevin zhao
aa3c4d3d1f moving args around 2025-12-02 17:38:50 -05:00
kevin zhao
d747d1d492 do not send allow_prefix if execpolicy is disabled 2025-12-02 17:38:49 -05:00
kevin zhao
2a4e833e91 fmt 2025-12-02 17:38:49 -05:00
kevin zhao
02c66be831 refactor: adding allow_prefix into ApprovedAllowPrefix 2025-12-02 17:38:49 -05:00
kevin zhao
d4d293fcf0 clippy 2025-12-02 17:38:49 -05:00
kevin zhao
a2528c3675 using RW locks 2025-12-02 17:38:49 -05:00
kevin zhao
8fb06a9d5b mutating in memory policy instead of reloading 2025-12-02 17:38:49 -05:00
kevin zhao
9003b33e75 update doc 2025-12-02 17:38:48 -05:00