Skip to content

Integrate TopoGen APIs and simplify NetLab execution - #2

Merged
networmix merged 2 commits into
mainfrom
netlab-topogen-cleanup-8266ea10
Oct 4, 2026
Merged

networmix merged 2 commits into
mainfrom
netlab-topogen-cleanup-8266ea10

Conversation

@networmix

@networmix networmix commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

Run TopoGen and NetGraph through Python APIs and a local task queue, with enforced timeouts and verified result caches.

Correct bandwidth availability, latency references, and paired-seed comparisons. Publish complete metric reports only after successful analysis. Research uses the same execution API, with corrected ranking and resume checks.

Breaking changes: metrics move to netlab.metrics; executable overrides and legacy schemas are removed. See CHANGELOG.md for details.

Validation: GitHub CI passed on Python 3.11–3.13 (517 tests each), all pre-commit hooks passed, and wheel/sdist checks passed. Independent metric verification covers 38 native runs and 435 multi-seed failure trials.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-04T22:05:18.161943Z c0933d1 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: c0933d1166

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

capture_output=True,
text=True,
timeout=timeout_s,
errors = validate_scenario_file(scenario_path, expected)

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 Apply the sweep timeout during scenario validation

For netlab autoresearch sweep and cross-sweep, this call expands the full generated topology synchronously via Scenario.from_yaml, outside the timed worker used by run_simulation. A large or pathological scenario can therefore exceed --timeout indefinitely before the timed simulation is even submitted, whereas the previous inspect subprocess applied timeout_s; run this validation in the task queue with the configured deadline or reuse the worker's timed parse.

Useful? React with 👍 / 👎.

@networmix
networmix merged commit b132550 into main Oct 4, 2026
6 checks passed
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