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

removed persistent buffer and fixed some typos. #150

Merged
merged 3 commits into from
Feb 11, 2023
Merged

Conversation

iancze
Copy link
Collaborator

@iancze iancze commented Feb 11, 2023

Closes #143

@iancze iancze requested a review from kadri-nizam February 11, 2023 02:14
@iancze
Copy link
Collaborator Author

iancze commented Feb 11, 2023

Something still seems to be wacky with the GitHub actions. The build errored on "docs test #62" but if you look at the error log it's a result from a stale tutorial, which is fixed in this PR. IDK if this has to do with the MystNB cache or the GitHub actions cache or both.

For reference, here is the test status:
Screenshot 2023-02-10 at 9 31 33 PM

Copy link
Contributor

@kadri-nizam kadri-nizam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing the typo in images_test! I suspect it's the cache. Might need to update the conf.py file as it's currently set to cache mode.

nb_execution_mode = "cache"

Testing a change in the configuration to update cached files
@kadri-nizam kadri-nizam self-requested a review February 11, 2023 15:59
@kadri-nizam kadri-nizam merged commit 4bd668a into main Feb 11, 2023
@kadri-nizam
Copy link
Contributor

kadri-nizam commented Feb 11, 2023

I think I understand now. The tests were failing on the pull_request_target action because

This event runs in the context of the base of the pull request, rather than in the context of the merge commit, as the pull_request event does.

So, actions run using pull_request_target will run tests based on the unchanged codes in the repository. I'll go ahead and merge this since tests run on the head has no errors.

@kadri-nizam kadri-nizam deleted the fourier-state-dict branch February 11, 2023 16:57
@iancze
Copy link
Collaborator Author

iancze commented Feb 11, 2023

Thanks for tracking this down! If the pull_request_target action is just running on the main branch, is there any utility to it then, at least in our workflow? @jeffjennings

@jeffjennings
Copy link
Contributor

jeffjennings commented Feb 11, 2023 via email

@iancze
Copy link
Collaborator Author

iancze commented Feb 12, 2023

Thanks, that makes sense!

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.

Some docs tutorial cells broken
3 participants