Skip to content

refactor: remove legacy agentic utilities / 删除旧 AgentX 工具兼容目录 - #3500

Merged
functionstackx merged 3 commits into
mainfrom
refactor/remove-utils-agentic
Sep 26, 2026
Merged

functionstackx merged 3 commits into
mainfrom
refactor/remove-utils-agentic

Conversation

@functionstackx

@functionstackx functionstackx commented Sep 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Delete the remaining utils/agentic package markers and finish removing the directory.
  • Zero changes to .github/workflows/benchmark-tmpl.yml relative to current main. Concurrent PR #3498 already removed the forwarding wrapper and migrated its workflow caller; its main-branch implementation is preserved unchanged.
  • Move the 12 power-lifecycle cases into infx/tests/results/agentic/test_power_lifecycle.py; adjust the repository-root calculation without changing test behavior.
  • No serving recipes, workloads, performance calculations, dependencies, or historical changelog entries change.

The initial revision added workflow-tooling isolation. The requester rejected that extra scope, so it was reduced to a one-line module replacement. After #3498 merged, this branch incorporated main and dropped its workflow change entirely. The final net diff is three files: two package-marker deletions and the test move.

Validation

  • AgentX suite: 152 passed, including all 12 moved lifecycle cases.
  • Complete local suite after integration with main, with RUNNER_NAME=local-review: 2,102 passed, 1 skipped, 180 subtests passed.
  • Without RUNNER_NAME, one existing H100 fixture fails. Reproduced on unchanged base 090501caeb6a8c7d6cb51d5eaac2b3044e411b99; GitHub Actions supplies that variable.
  • Ruff check/formatting and git diff --check: passed.
  • Repository reference audit: no remaining utils/agentic or utils.agentic callers.
  • Final integrated-head CI: 2,102 passed, 1 skipped, lint passed on 509d817139bb6327711f166f961702446c8690c0. Earlier workflow-security audit: passed; the final net diff changes no workflow files.
  • No live GPU/Slurm sweep performed; this removes a forwarding wrapper and relocates existing tests.

Ten independent reviews

Ten subagents reviewed the change with distinct personas and review roles, then all ten re-reviewed the minimal revision. No demonstrated introduced blockers remained. The integration and reference reviewers additionally checked the final main integration: the remaining diff only removes two docstring-only package markers and moves the already-reviewed lifecycle test. CI still collects all 12 moved cases. Workflow behavior now belongs entirely to already-merged #3498, not this PR.

Reviewer persona Review role
Python packaging maintainer Package/import auditor
GitHub Actions release engineer Workflow control-flow reviewer
Adversarial security engineer Trust-boundary auditor
AgentX benchmark scientist Semantic-equivalence reviewer
Test engineer Behavioral-test auditor
Repository archaeologist Reference scanner
SRE operating historical revisions Backward-compatibility reviewer
Power telemetry maintainer Lifecycle regression reviewer
Strict release manager Integration-gate reviewer
Failure-injection QA Executable edge-case tester

Merge authorization

The requester explicitly authorized admin merge after the ten reviews and necessary fixes, and then required the workflow change to remain minimal. No human CODEOWNER approval or GPU sweep is claimed.

AI model disclosure

  • Orchestrator and implementation: GPT 6 Astra Fast, as identified in the task context.
  • Ten delegated review agents: exact model/version identifiers were not exposed to their runtimes and could not be verified. These are distinct review roles, not ten verified model families.
中文

变更摘要

  • 删除剩余 utils/agentic 包标记,完成整个目录的删除。
  • 相对于当前 main,.github/workflows/benchmark-tmpl.yml 零改动。并行 PR #3498 已删除兼容入口并迁移工作流调用,本 PR 原样保留 main 中的实现。
  • 将 12 个功耗生命周期测试用例迁移到 infx/tests/results/agentic/test_power_lifecycle.py,仅调整仓库根目录定位,不改变测试行为。
  • 不修改服务配方、工作负载、性能计算、依赖或历史性能变更记录。
  • 初版工作流工具隔离超出了委托人要求,先缩减为一行路径替换;Remove remaining utils Python wrappers / 删除剩余的 utils Python 包装文件 #3498 合并后同步 main,本 PR 不再修改工作流。最终仅涉及三个文件:删除两个包标记并迁移测试。

验证与审查

  • AgentX 测试:152 passed,包含迁移后的 12 个生命周期用例。
  • 同步 main 后,设置 RUNNER_NAME=local-review 执行完整本地测试:2,102 passed、1 skipped、180 subtests passed。
  • 缺少 RUNNER_NAME 时的 H100 测试失败已在未修改基线复现;GitHub Actions 会提供该变量。
  • Ruff、格式检查和 git diff --check 通过,仓库中无残留旧引用。
  • 同步 main 后最终提交 509d817139bb6327711f166f961702446c8690c0 的 CI:2,102 passed、1 skipped,lint 通过。此前的工作流安全审计通过;最终净变更不修改工作流。
  • 未执行真实 GPU/Slurm sweep。
  • 十个独立子代理从十种不同职责审查,并全部复查最小修改版,未留下已证实的新引入阻塞问题。同步 main 后,集成和引用审查者再次核查最终三个文件的净变更;CI 仍发现全部 12 个迁移测试。工作流行为完全来自已合并的 Remove remaining utils Python wrappers / 删除剩余的 utils Python 包装文件 #3498,不属于本 PR 的变更。
  • 委托人已授权完成审查和修复后执行管理员合并,并要求工作流改动最小化;不声称已获得人工 CODEOWNER 批准或完成 GPU sweep。

AI 模型披露

  • 编排与实现使用任务上下文标识的 GPT 6 Astra Fast。
  • 十个审查子代理未公开精确模型版本,无法核实;不同审查角色不代表十种不同模型。

删除 utils/agentic 兼容目录,改用 infx 校验器,并保留功耗生命周期测试。
按要求将工作流修改缩减为一行模块路径替换,保留原有解释器和环境处理。

@claude claude 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.

Looks good, straightforward config/refactor change. Reviewed: the workflow change routing agentic-coding validation through .result-tooling with check_env_vars/INFERENCEX_RESULTS_PYTHON — matches the identical pattern already used in the "Process result" step a few lines below in the same file. Checked the parents[4] fix in the moved test_power_lifecycle.py — correct, since the new path (infx/tests/results/agentic/) is one directory level deeper than the old utils/agentic/aggregation/. Confirmed no remaining utils.agentic/utils/agentic references anywhere in the repo after the shim deletions.

Extended reasoning...

The diff touches a CI workflow template and moves/deletes a small Python compatibility package (no auth, crypto, or data-exposure surface). The new workflow snippet is a copy-paste of an already-established pattern in the same file, the path-depth arithmetic for the moved test checks out, and a repo-wide grep confirms no dangling references to the deleted package — all mechanical, low-risk changes.

This review covers commit 1e198e8, which is no longer the latest commit on this pull request; later commits are not covered by it.

保留 main 已合并的工作流迁移;本 PR 仅删除剩余目录并迁移生命周期测试。
@functionstackx
functionstackx merged commit acbd24f into main Sep 26, 2026
3 checks passed
@functionstackx
functionstackx deleted the refactor/remove-utils-agentic branch September 26, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant