Skip to content

Conversation

@yatharth
Copy link
Contributor

@yatharth yatharth commented Dec 23, 2025

Copy link
Contributor Author

yatharth commented Dec 23, 2025

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 63 to 68
- uses: actions/checkout@v4
with:
repository: Metta-AI/cogames
# For tag pushes: use the tag name (e.g., cogames-v1.2.3)
# For manual dispatch: use main branch (since arbitrary branches aren't in child repo)
ref: ${{ startsWith(github.ref, 'refs/tags/') && github.ref_name || 'main' }}

Choose a reason for hiding this comment

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

P1 Badge Align mettagrid wait with the repo under test

The test job now checks out Metta-AI/cogames (lines 63–68), but the wait-for-mettagrid job still extracts the required mettagrid version from packages/cogames/pyproject.toml in this repo (lines 102–107). If the child repo’s dependency pin diverges from the monorepo’s copy, the workflow may wait for the wrong version (or not wait at all), causing intermittent install failures or false confidence. This mismatch is introduced by the new checkout of the child repo without updating the wait step’s source of truth.

Useful? React with 👍 / 👎.

Comment on lines 88 to 90
- name: Run tests
run: |
# Run from clean directory - no metta/ or other repo packages accessible
pytest tests/ -v

Choose a reason for hiding this comment

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

P2 Badge Smoke test no longer validates the installed package

Running pytest tests/ -v from the repository root after pip install . means Python will import from the working tree first (cwd is at the front of sys.path). This can mask packaging regressions (e.g., missing package data, incorrect package includes, or build-time generated files) because the tests may exercise the source tree instead of the installed distribution. The previous isolation step avoided this; the new flow no longer validates that the install artifact is actually runnable.

Useful? React with 👍 / 👎.

@yatharth yatharth deployed to cogames-testpypi December 23, 2025 23:32 — with GitHub Actions Active
@yatharth yatharth changed the base branch from yatharth/metta-publish-push-tags-to-child-repo to graphite-base/4523 December 23, 2025 23:35
@yatharth yatharth force-pushed the yatharth/cogames-smoketest-from-child-repo branch from cdbd915 to f859d89 Compare December 23, 2025 23:35
@yatharth yatharth changed the base branch from graphite-base/4523 to yatharth/cogames-release-order December 23, 2025 23:35
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