Skip to content

Group Dashboard tests under Apps #678

Done

Description

@Dong1017

Current state: done (acceptance and closure record)
Decision needed: none
Next action: none

Owner and status

Accountable owner: @Dong1017

Scope

Group the seven Dashboard test modules under tests/apps/dashboard/. Update Dashboard CI selectors, shared browser imports, and developer documentation so they resolve from the new paths. Preserve the existing Dashboard assertions and test coverage.

Acceptance

  • Repository-wide pytest collection has the same test IDs after mapping the seven moved paths.
  • Dashboard tests, maintained documentation links, and CI selectors are verified on the proposed head.
  • The PR receives independent review and passes the required checks.

Background

This follows the test ownership cleanup in #656. The Dashboard tests currently sit directly under tests/apps/, alongside tests for other Apps components.

Activity

  1. added
    kind:task
    status:proposed
    on Nov 25, 2026
  2. self-assigned this
    on Nov 25, 2026
  3. added
    area:apps
    on Nov 25, 2026
  4. Dong1017 commented on Nov 25, 2026

    @Dong1017
    CollaboratorAuthor

    Codex, acting for @Dong1017.

    Dong1017 approved proceeding with the Dashboard test layout and asked to open a PR for independent review. This records that direction on the Issue. The scope is the seven Dashboard test modules and the imports, CI selectors, and documentation that refer to their paths.

  5. added
    status:accepted
    and removed
    status:proposed
    on Nov 25, 2026
  6. Dong1017 commented on Nov 25, 2026

    @Dong1017
    CollaboratorAuthor

    Codex, acting for @Dong1017, is claiming the Dashboard test directory and path updates described above.

    Next artifact: a PR for independent review by 2026-11-25 09:37 UTC.

  7. Dong1017 commented on Nov 25, 2026

    @Dong1017
    CollaboratorAuthor

    Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart).

    Triage: the scope is clear and follows #656, but it is not PR-ready until the seven-file mapping and the ci-ready.yml browser selector are named.

    The body asks @Dong1017 nothing directly. It names them as accountable owner, so no decision is requested here.

    Gaps and risks

    • The seven modules are not listed. On the default branch they are the seven tests/apps/test_dashboard_*.py files: data, experiments, experiments_browser, external, live, translation_ui, workflow.
    • .github/workflows/ci-ready.yml line 94 hard-codes tests/apps/test_dashboard_experiments_browser.py in the Chromium dashboard-browser job. Moving that file without changing the line breaks the job.
    • "Shared browser imports" and "maintained documentation links" name no files.
    • task: consolidate SkillEval docs and relocate standalone guides #674 (PR Organize SkillEval and standalone documentation guides #675) is changing docs/ links now, so doc edits here may conflict.

    Clarifying questions

    1. Should the modules keep their basenames under tests/apps/dashboard/?
    2. Does the new package need an __init__.py? tests/apps/ has one.
    3. Do any of the seven import helpers from tests/apps/ or from each other?

    Suggested next steps

    1. Add a seven-row old-to-new table and the line-94 change to the body.
    2. Attach pytest --collect-only -q output before and after, diffed through the mapping.
    3. Rebase after Organize SkillEval and standalone documentation guides #675 merges, or agree the order with its author.

    Implementer: no coding agent exists here, so a human with write access must take it; @Dong1017 can name one.

    Details

    Read: issue/meta.json, issue/body.md, decisions.md (no #678 decision yet), .github/workflows/ci-ready.yml, ci-merge.yml, ci-draft.yml, ci-nightly.yml, the tests/apps/ listing, #656 and #674.

    Not read: skill-eval-*.yml, release.yml, knowledge-model-policy.yml, docs/, tests/apps/conftest.py, or the imports inside the seven files.

    Background: #656 moved root test files and was accepted on main ae6c218a (PR #660). Its five link exceptions and the Qwen benchmark.py pin drift were logged as non-blocking follow-ups, so they stay out of this scope.

    The nightly pytest run and the ready full-check job collect by directory, so moved files still run. The risk is changed test IDs, not lost coverage.

    Nothing was run.

  8. Dong1017 commented on Nov 25, 2026

    @Dong1017
    CollaboratorAuthor

    Codex, acting for @Dong1017.

    Delivered the Dashboard test layout in #680 at head b5059e7b145e042c878c8067a9512e9068a47dc8. The full collection matched all 7,564 test IDs after rewriting the 202 IDs from moved modules. The updated browser CI invocation collected 68 tests, and the documentation selectors collected 109. Windows targeted checks passed 177 tests, including two using installed Chrome. Two symlink tests were skipped. The standard Playwright launch error also reproduced on the base revision.

    Independent review requested from @Bounty-hunter and @david6666666.

  9. Dong1017 commented on Nov 25, 2026

    @Dong1017
    CollaboratorAuthor

    Codex, acting for @Dong1017.

    Accepted for completion. The seven Dashboard test modules are grouped on main, and the required checks passed.

    flowchart LR
        A["Seven Dashboard tests in tests/apps"] --> B["tests/apps/dashboard"]
        B --> C["Chromium CI selector"]
        B --> D["Developer test commands"]
    
    Loading
    • Delivered — PR #680 moved the modules and updated the shared browser imports, template lookup, CI selector, and documentation. Before · After.
    • Verified — All 7,564 collected test IDs matched after mapping the 202 IDs from the seven moved modules. The maintained documentation links passed. Linux full checks on Python 3.10 and 3.11, installed-package checks, and the Dashboard Chromium job passed. CI run.
    • Limits — Targeted Windows checks passed 177 tests, including two using installed Chrome. Two symlink tests were skipped. The default Windows run hit the same missing Playwright Chromium executable on the base and PR head.
    Acceptance record
    • Accepted scope: owner direction. Dong1017 authorized closing Group Dashboard tests under Apps #678 with an acceptance comment in the Codex conversation.
    • The independent reviewers Bounty-hunter and zengchuang-hw approved b5059e7b145e042c878c8067a9512e9068a47dc8. GitHub recorded the squash merge to main as 259c5970b9335c32c17aa7a88ca2551b116d705a. The material paths covered by this Issue match the reviewed head. The full-check jobs finished successfully after integration.
    • Collection comparison was run on base 0ae7d0d5aca90bf9725cf9661ba2897996e68a1d and the reviewed head. The updated browser CI invocation collected 68 tests, and the documented commands collected 109. Verification record.
  10. zengchuang-hw commented on Nov 25, 2026

    @zengchuang-hw
    Contributor

    PASS
    Dot,代表 zengchuang-hw。首次 Issue 检视:将七个 Dashboard 测试模块归到 tests/apps/dashboard/ 的范围合理。对照 #680 的实际差异,四个测试模块是纯移动,另外三个只调整共享导入和模板定位,文档命令与浏览器检查入口也改到了新路径。我另核对了对路径最敏感的 test_dashboard_live.py,合入提交与送审提交的文件内容一致。没有定向修改建议;未自行重跑 pytest,也不重复验收或重开本单。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:appskind:taskstatus:accepted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions