Skip to content

Clarify membership check job to include instructions for changing membership visiblity#395

Merged
eric-heiden merged 1 commit into
newton-physics:mainfrom
shi-eric:ershi/clarify-membership-check
Jul 14, 2025
Merged

Clarify membership check job to include instructions for changing membership visiblity#395
eric-heiden merged 1 commit into
newton-physics:mainfrom
shi-eric:ershi/clarify-membership-check

Conversation

@shi-eric

@shi-eric shi-eric commented Jul 13, 2025

Copy link
Copy Markdown
Member

Description

Turns out that for a pull request author to be considered a member of the newton-physics org, their membership should be set to the public visibility level.

Newton Migration Guide

Please ensure the migration guide for warp.sim users is up-to-date with the changes made in this MR.

  • The migration guide in docs/migration.rst is up-to date

Before your PR is "Ready for review"

  • All commits are signed-off to indicate that your contribution adheres to the Developer Certificate of Origin requirements
  • Necessary tests have been added and new examples are tested (see newton/tests/test_examples.py)
  • Documentation is up-to-date
  • Code passes formatting and linting checks with pre-commit run -a

Summary by CodeRabbit

  • Chores
    • Improved feedback for pull request authors who are not organization members by providing a detailed message with instructions on how to update membership visibility and trigger workflow checks.

Signed-off-by: Eric Shi <ershi@nvidia.com>
@coderabbitai

coderabbitai Bot commented Jul 13, 2025

Copy link
Copy Markdown
Contributor

Caution

Review failed

Failed to post review comments.

Configuration used: .coderabbit.yml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6d80cfc and 9b805ad.

📒 Files selected for processing (1)
  • .github/workflows/pr_aws_gpu_tests.yml (1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: shi-eric
PR: newton-physics/newton#386
File: .github/workflows/aws-gpu-tests.yml:65-82
Timestamp: 2025-07-12T19:46:47.510Z
Learning: In the newton-physics/newton repository AWS GPU workflow, the workflow only triggers on `pull_request_target` and `push` events, not on `pull_request` events. The `pull_request_target` event is used for testing PRs from forks safely on AWS infrastructure.
.github/workflows/pr_aws_gpu_tests.yml (1)
Learnt from: shi-eric
PR: newton-physics/newton#386
File: .github/workflows/aws-gpu-tests.yml:65-82
Timestamp: 2025-07-12T19:46:47.510Z
Learning: In the newton-physics/newton repository AWS GPU workflow, the workflow only triggers on `pull_request_target` and `push` events, not on `pull_request` events. The `pull_request_target` event is used for testing PRs from forks safely on AWS infrastructure.
🪛 YAMLlint (1.37.1)
.github/workflows/pr_aws_gpu_tests.yml

[error] 56-56: trailing spaces

(trailing-spaces)


[error] 59-59: trailing spaces

(trailing-spaces)


[error] 62-62: trailing spaces

(trailing-spaces)


[error] 66-66: trailing spaces

(trailing-spaces)

⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: run-asv-benchmarks
  • GitHub Check: run-newton-tests / newton-unittests (windows-latest)
  • GitHub Check: run-newton-tests / newton-unittests (ubuntu-latest)
🔇 Additional comments (1)
.github/workflows/pr_aws_gpu_tests.yml (1)

44-45: Message wording looks good.

Clearer wording (“recognized member, owner, or collaborator”) improves readability without changing logic.

📝 Walkthrough

Walkthrough

The pull request updates a GitHub Actions workflow script to provide more detailed and user-friendly feedback when a pull request author is not a recognized organization member. The script now outputs a clear, multi-line message with instructions for updating membership visibility and re-running the workflow.

Changes

File(s) Change Summary
.github/workflows/pr_aws_gpu_tests.yml Enhanced the non-member check to output a detailed explanatory message and instructions to stderr.

Sequence Diagram(s)

sequenceDiagram
    participant PR Author
    participant GitHub Actions Workflow

    PR Author->>GitHub Actions Workflow: Open Pull Request
    GitHub Actions Workflow->>GitHub Actions Workflow: Check organization membership
    alt Author is member/owner/collaborator
        GitHub Actions Workflow->>GitHub Actions Workflow: Proceed with workflow
    else Author is not a member
        GitHub Actions Workflow->>PR Author: Output detailed message with instructions to stderr
        GitHub Actions Workflow->>GitHub Actions Workflow: Set membership status to "NOT_MEMBER"
    end
Loading

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@shi-eric shi-eric requested a review from eric-heiden July 13, 2025 21:37

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
.github/workflows/pr_aws_gpu_tests.yml (1)

50-67: Consider a single heredoc instead of ~20 separate echo calls

The current implementation prints the explanatory banner line-by-line; it’s verbose and slightly harder to maintain (any wording tweak requires editing many lines). A compact heredoc keeps the message readable in-file, avoids quoting pitfalls, and marginally speeds execution:

-            # Print a message explaining the status and its impact on workflows.
-            echo "--------------------------------------------------------------------------------" >&2
-            echo "Thank you for your contribution!" >&2
-            echo "This is the expected status for community contributors. Certain automated" >&2
-            echo "workflows are reserved for verified organization members." >&2
-            echo "" >&2
-            echo "--------------------------------------------------------------------------------" >&2
-            echo "❓ Are you a member of the 'newton-physics' organization and believe this is an error?" >&2
-            echo "" >&2
-            echo "This can happen if your organization membership is set to 'Private'. To fix this," >&2
-            echo "please make your membership 'Public' to enable all workflow triggers:" >&2
-            echo "" >&2
-            echo "1. Go to the organization's People page: https://github.com/orgs/newton-physics/people" >&2
-            echo "2. Find your username in the list." >&2
-            echo "3. Click the dropdown next to your name and change your visibility from 'Private' to 'Public'." >&2
-            echo "" >&2
-            echo "After updating your visibility, push a new commit to this PR to re-run the check." >&2
-            echo "--------------------------------------------------------------------------------" >&2
+            cat >&2 <<'EOF'
+--------------------------------------------------------------------------------
+Thank you for your contribution!
+This is the expected status for community contributors. Certain automated
+workflows are reserved for verified organization members.
+
+--------------------------------------------------------------------------------
+❓ Are you a member of the 'newton-physics' organization and believe this is an error?
+
+This can happen if your organization membership is set to "Private". To fix this,
+please make your membership "Public" to enable all workflow triggers:
+
+1. Go to the organization's People page: https://github.com/orgs/newton-physics/people
+2. Find your username in the list.
+3. Click the dropdown next to your name and change your visibility from "Private" to "Public".
+
+After updating your visibility, push a new commit to this PR to re-run the check.
+--------------------------------------------------------------------------------
+EOF

This change is non-functional, improves maintainability, and still streams to stderr.

📜 Review details

Configuration used: .coderabbit.yml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f26eb37 and 6d80cfc.

📒 Files selected for processing (1)
  • .github/workflows/pr_aws_gpu_tests.yml (1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: shi-eric
PR: newton-physics/newton#386
File: .github/workflows/aws-gpu-tests.yml:65-82
Timestamp: 2025-07-12T19:46:47.510Z
Learning: In the newton-physics/newton repository AWS GPU workflow, the workflow only triggers on `pull_request_target` and `push` events, not on `pull_request` events. The `pull_request_target` event is used for testing PRs from forks safely on AWS infrastructure.
.github/workflows/pr_aws_gpu_tests.yml (1)
Learnt from: shi-eric
PR: newton-physics/newton#386
File: .github/workflows/aws-gpu-tests.yml:65-82
Timestamp: 2025-07-12T19:46:47.510Z
Learning: In the newton-physics/newton repository AWS GPU workflow, the workflow only triggers on `pull_request_target` and `push` events, not on `pull_request` events. The `pull_request_target` event is used for testing PRs from forks safely on AWS infrastructure.
⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: run-asv-benchmarks
  • GitHub Check: run-newton-tests / newton-unittests (windows-latest)
  • GitHub Check: run-newton-tests / newton-unittests (ubuntu-latest)
🔇 Additional comments (1)
.github/workflows/pr_aws_gpu_tests.yml (1)

43-45: Clarity improvement looks good

The explicit success log and explicit membership_status=CONFIRMED_MEMBER output make downstream conditions easier to reason about.

@shi-eric shi-eric force-pushed the ershi/clarify-membership-check branch from 9b805ad to 6d80cfc Compare July 13, 2025 22:01
@shi-eric shi-eric marked this pull request as draft July 13, 2025 22:03
@shi-eric shi-eric marked this pull request as ready for review July 13, 2025 22:05
@shi-eric

Copy link
Copy Markdown
Member Author

Expected result:

image

@eric-heiden eric-heiden merged commit 8361fbf into newton-physics:main Jul 14, 2025
11 checks passed
@shi-eric shi-eric deleted the ershi/clarify-membership-check branch July 14, 2025 15:17
eric-heiden pushed a commit to eric-heiden/newton that referenced this pull request Jan 28, 2026
…bership visiblity (newton-physics#395)

Signed-off-by: Eric Shi <ershi@nvidia.com>
vidurv-nvidia pushed a commit to vidurv-nvidia/newton that referenced this pull request Mar 6, 2026
…luation (newton-physics#395)

<!--
Thank you for your interest in sending a pull request. Please make sure
to check the contribution guidelines.

Link:
https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html
-->

Changes:
1. Adds a new Franka cube stacking visuomotor environment as per Cosmos
requirements: higher resolution and multi-modality support.
2. Adds scripts for data pre-processing and post-processing before and
after Cosmos augmentation respectively.
3. Adds evaluation of trained visuomotor policies for robustness to
visual changes using domain randomization.
4. Makes task termination checks more strict for the Franka cube
stacking task.
5. Adds new documentation for the Cosmos imitation learning pipeline.

<!-- As a practice, it is recommended to open an issue to have
discussions on the proposed pull request.
This makes it easier for the community to keep track of what is being
developed or added, and if a given feature
is demanded by more than one party. -->

<!-- As you go through the list, delete the ones that are not
applicable. -->

- New feature (non-breaking change which adds functionality)
- This change requires a documentation update

- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->

---------

Signed-off-by: rwiltz <165190220+rwiltz@users.noreply.github.com>
Signed-off-by: Kelly Guo <kellyguo123@hotmail.com>
Signed-off-by: Ashwin Varghese Kuruttukulam <123109010+ashwinvkNV@users.noreply.github.com>
Signed-off-by: Kelly Guo <kellyg@nvidia.com>
Signed-off-by: Michael Gussert <michael@gussert.com>
Signed-off-by: samibouziri <79418773+samibouziri@users.noreply.github.com>
Signed-off-by: Mayank Mittal <12863862+Mayankm96@users.noreply.github.com>
Signed-off-by: Kyle Morgenstein <34984693+KyleM73@users.noreply.github.com>
Signed-off-by: Hongyu Li <lihongyu0807@icloud.com>
Signed-off-by: Toni-SM <toni.semu@gmail.com>
Signed-off-by: James Tigue <166445701+jtigue-bdai@users.noreply.github.com>
Signed-off-by: Pascal Roth <57946385+pascal-roth@users.noreply.github.com>
Signed-off-by: Victor Khaustov <3192677+vi3itor@users.noreply.github.com>
Signed-off-by: AlvinC <alvincny529@gmail.com>
Signed-off-by: Tyler Lum <tylergwlum@gmail.com>
Signed-off-by: Miguel Alonso Jr. <76960110+miguelalonsojr@users.noreply.github.com>
Signed-off-by: renaudponcelet <renaud.poncelet@gmail.com>
Co-authored-by: jaczhangnv <jaczhang@nvidia.com>
Co-authored-by: rwiltz <165190220+rwiltz@users.noreply.github.com>
Co-authored-by: Kelly Guo <kellyg@nvidia.com>
Co-authored-by: Yanzi Zhu <yanziz@nvidia.com>
Co-authored-by: nv-mhaselton <mhaselton@nvidia.com>
Co-authored-by: lotusl-code <lotusl@nvidia.com>
Co-authored-by: cosmith-nvidia <141183495+cosmith-nvidia@users.noreply.github.com>
Co-authored-by: Michael Gussert <michael@gussert.com>
Co-authored-by: CY Chen <cyc@nvidia.com>
Co-authored-by: oahmednv <oahmed@Nvidia.com>
Co-authored-by: Ashwin Varghese Kuruttukulam <123109010+ashwinvkNV@users.noreply.github.com>
Co-authored-by: Rafael Wiltz <rwiltz@nvidia.com>
Co-authored-by: Peter Du <peterd@nvidia.com>
Co-authored-by: matthewtrepte <mtrepte@nvidia.com>
Co-authored-by: chengronglai <chengrongl@nvidia.com>
Co-authored-by: pulkitg01 <pulkitg@nvidia.com>
Co-authored-by: Connor Smith <cosmith@nvidia.com>
Co-authored-by: Ashwin Varghese Kuruttukulam <ashwinvk@nvidia.com>
Co-authored-by: Kelly Guo <kellyguo123@hotmail.com>
Co-authored-by: Mayank Mittal <12863862+Mayankm96@users.noreply.github.com>
Co-authored-by: samibouziri <79418773+samibouziri@users.noreply.github.com>
Co-authored-by: James Smith <142246516+jsmith-bdai@users.noreply.github.com>
Co-authored-by: Shundo Kishi <syundo0730@gmail.com>
Co-authored-by: Sheikh Dawood <sabdulajees@nvidia.com>
Co-authored-by: Toni-SM <aserranomuno@nvidia.com>
Co-authored-by: Gonglitian <70052908+Gonglitian@users.noreply.github.com>
Co-authored-by: James Tigue <166445701+jtigue-bdai@users.noreply.github.com>
Co-authored-by: Mayank Mittal <mittalma@leggedrobotics.com>
Co-authored-by: Kyle Morgenstein <34984693+KyleM73@users.noreply.github.com>
Co-authored-by: Johnson Sun <20457146+j3soon@users.noreply.github.com>
Co-authored-by: Pascal Roth <57946385+pascal-roth@users.noreply.github.com>
Co-authored-by: Hongyu Li <lihongyu0807@icloud.com>
Co-authored-by: Jean-Francois-Lafleche <57650687+Jean-Francois-Lafleche@users.noreply.github.com>
Co-authored-by: Wei Jinqi <changshanshi@outlook.com>
Co-authored-by: Louis LE LAY <le.lay.louis@gmail.com>
Co-authored-by: Harsh Patel <hapatel@theaiinstitute.com>
Co-authored-by: Kousheek Chakraborty <kousheekc@gmail.com>
Co-authored-by: Victor Khaustov <3192677+vi3itor@users.noreply.github.com>
Co-authored-by: AlvinC <alvincny529@gmail.com>
Co-authored-by: Felipe Mohr <50018670+felipemohr@users.noreply.github.com>
Co-authored-by: AdAstra7 <87345760+likecanyon@users.noreply.github.com>
Co-authored-by: gao <ziqi.gao@iff-extern.fraunhofer.de>
Co-authored-by: Tyler Lum <tylergwlum@gmail.com>
Co-authored-by: -T.K.- <t_k_233@outlook.com>
Co-authored-by: Clemens Schwarke <96480707+ClemensSchwarke@users.noreply.github.com>
Co-authored-by: Miguel Alonso Jr. <76960110+miguelalonsojr@users.noreply.github.com>
Co-authored-by: Miguel Alonso Jr. <miguel.alonso@nfinite.app>
Co-authored-by: renaudponcelet <renaud.poncelet@gmail.com>
mmacklin pushed a commit to mmacklin/newton that referenced this pull request Apr 7, 2026
…bership visiblity (newton-physics#395)

Signed-off-by: Eric Shi <ershi@nvidia.com>
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.

2 participants