This message was deleted.
# proj-agent-canvas
d
This message was deleted.
w
hmm seems like nondefault didn't take effect here...
another interesting issue where changes were merged mid session thonk (OH didn't change any of these files)
f
๐Ÿคจ
I wonder if it is because your local repo is not up-to-date with main?
It might be comparing and old commit (local) with the latest remote
It might be, since I just pulled main and:
Copy code
create mode 100644 docs/generate-swagger-ui.js
 create mode 100644 docs/static/README.md
 create mode 100644 docs/static/openapi.json
w
something funky
do we get this hash just once, or every time we call
git diff
f
The key we compare against is client-side, it is the file name
If there was an action involving that key, we invalidate the queries (or if it is ageneral CMD action)
w
I mean, every time we call the
diff
API, do we re-run this logic to get the base branch?
f
Yes
get_git_changes
calls
_get_changed_files
that calls
_get_valid_ref
that checks what branch it should compare against, every time
๐Ÿ‘ 1
w
asking OH to write some tests
๐Ÿ‘€ 1