Skip to content

test(integration): exercise PanMedia against Astrologically Intelligent - #3

Merged
JAPStudios merged 3 commits into
mainfrom
test/astrologically-intelligent-backend-integration
Nov 7, 2026
Merged

JAPStudios merged 3 commits into
mainfrom
test/astrologically-intelligent-backend-integration

Conversation

@JAPStudios

Copy link
Copy Markdown
Owner

Summary

Add a cross-repository integration test that starts the real Astrologically Intelligent HTTP API with a deterministic model provider, then sends PanMedia's existing server-side proxy requests through it. The test covers agent registration, listing, lookup, pause/reactivate, heartbeat, execution, run retrieval, goals, approvals, plus budgets.

The test also verifies that the backend control plane rejects requests when its server-side bearer token is absent. The CI workflow checks out the public Astrologically Intelligent repository and runs this integration test alongside PanMedia's existing proxy tests.

Validation boundaries

This is a local in-process integration test using the real code from both repositories. It does not claim a public deployment, production endpoint, or live model-provider connection.

How to Test

  1. Set ASTRO_AI_REPO_PATH to a checkout of JAPStudios/Astrologically-Intelligent.
  2. Run python -m unittest tests.test_live_backend_integration -v.
  3. Run python -m unittest discover -s tests -v.

CI clones the public Astrologically Intelligent main branch before running the suite.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-07T22:03:29.335786Z 484f8b1 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Copy link
Copy Markdown

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.

Reviewed commit: 484f8b1375

ℹ️ 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".

from http.server import ThreadingHTTPServer
from pathlib import Path

AI_ROOT = Path(os.getenv("ASTRO_AI_REPO_PATH", "")).expanduser()

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Skip integration tests when the backend path is unset

When ASTRO_AI_REPO_PATH is unset, Path("") becomes Path("."), which exists in a normal checkout. The skip in setUp is therefore bypassed, and the tests fail because the external package cannot be imported. This makes the documented python -m unittest discover -s tests -v fail for local runs without the optional backend checkout.

Useful? React with 👍 / 👎.

@JAPStudios
JAPStudios merged commit 30d035d into main Nov 7, 2026
1 check passed
@JAPStudios
JAPStudios deleted the test/astrologically-intelligent-backend-integration branch November 7, 2026 22:11
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.

1 participant