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

Fix service type #382

Merged
merged 2 commits into from
Aug 30, 2022
Merged

Fix service type #382

merged 2 commits into from
Aug 30, 2022

Conversation

afshin
Copy link
Member

@afshin afshin commented Aug 29, 2022

cleanup after #377

Fix API signatures

@afshin afshin added the bug Something isn't working label Aug 29, 2022
@afshin afshin added this to the Lumino 2 milestone Aug 29, 2022
@afshin afshin self-assigned this Aug 29, 2022
@afshin afshin force-pushed the fix-service-type branch 4 times, most recently from 25038fc to bb9224e Compare August 30, 2022 07:27
Comment on lines 35 to 47
with:
files: |
packages/**/*.css
packages/**/*.js
packages/**/*.ts
packages/**/*.tsx

- name: Did things change?
if: steps.changed-files.outputs.any_changed == 'true'
shell: bash -l {0}
run: |
echo "Yes! Some things changed!"
echo | git status --short --branch
Copy link
Member

Choose a reason for hiding this comment

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

@afshin did you encounter an unexpected file being committed or is this just a fail-safe?

Note: to be sure to display the changes detected by the previous action, I would recommend using the following snippet:

run: |
for file in ${{ steps.api-changed.outputs.all_changed_files }}; do
echo "$file"
done

Copy link
Member Author

Choose a reason for hiding this comment

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

No new files are committed, but for some reason the next job (the one that does the git push) fails, presumably because there is nothing to push? I'm not 100% sure what is happening. I reverted my modifications to the CI job because I was just experimenting.

Copy link
Member

Choose a reason for hiding this comment

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

I got some similar problems with the API changes workflow. So I applied the same trick in dc2692d; i.e. forcing the commit then use the diff between HEAD and HEAD~1 to see if something changed.

Copy link
Member

@fcollonval fcollonval left a comment

Choose a reason for hiding this comment

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

Thanks @afshin

@fcollonval fcollonval merged commit 6c04c98 into jupyterlab:main Aug 30, 2022
@vidartf
Copy link
Member

vidartf commented Aug 31, 2022

For those of us trying to follow along: What exactly does this change do? What problems did the old code cause, and how is this a fix?

@vidartf
Copy link
Member

vidartf commented Aug 31, 2022

Oh, I see now that this is a cleanup after #377.

@afshin
Copy link
Member Author

afshin commented Aug 31, 2022

For those of us trying to follow along: What exactly does this change do? What problems did the old code cause, and how is this a fix?

Oh, I see now that this is a cleanup after #377.

Right, this puts the signatures back to what they originally were.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants