Skip to content

Conversation

tarleb
Copy link
Collaborator

@tarleb tarleb commented Nov 26, 2024

Setting the QUARTO_JOG_CHECK environment variable will run checks to identify element attributes that have the wrong type, and will also find filters that modify the input object, but don't return it. Both of these can cause issues when switching to a different traversal method.

@cscheid
Copy link
Collaborator

cscheid commented Jan 17, 2025

@tarleb There's a conflict here that I think you're better equipped to merge than I am. When that's sorted out, feel free to merge 🚀

@cscheid cscheid added this to the v1.8 milestone Apr 7, 2025
Setting the `QUARTO_JOG_CHECK` environment variable will run checks to
identify element attributes that have the wrong type, and will also find
filters that modify the input object, but don't return it. Both of these
can cause issues with jog.
@tarleb tarleb force-pushed the attribute-checks branch from 010c7ad to 50ca517 Compare July 16, 2025 10:08
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Jul 16, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@tarleb tarleb marked this pull request as ready for review July 16, 2025 11:03
@tarleb
Copy link
Collaborator Author

tarleb commented Jul 16, 2025

@cscheid would you do another quick review? I moved code around a little and ended up adding two global table functions.

@cscheid
Copy link
Collaborator

cscheid commented Jul 16, 2025

This looks like a good implementation.

It would be helpful to have a document with a known-bad filter, which we want to see fail, and a test that verifies that it indeed fails. We don't have "expect-fail" functionality in smoke-all tests, so if you need help with that, let me know.

@cscheid cscheid modified the milestones: v1.8, v1.9 Aug 20, 2025
@cscheid cscheid self-assigned this Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants