Skip to content

Skip the TS-GCN installer in the CI install lane - #1040

Closed
calvinp0 wants to merge 1 commit into
mainfrom
fix_ci_optional_gcn_install
Closed

Skip the TS-GCN installer in the CI install lane#1040
calvinp0 wants to merge 1 commit into
mainfrom
fix_ci_optional_gcn_install

Conversation

@calvinp0

@calvinp0 calvinp0 commented Sep 3, 2026

Copy link
Copy Markdown
Member

Why CI is red

Every CI run since 2026-09-02 fails in make install-ci before a single test executes, on main and on every open PR. The GCN installer builds the ts_gcn environment from devtools/gcn_environment.yml, whose PyTorch Geometric wheels (torch-scatter, torch-sparse, torch-cluster, torch-spline-conv) are linked from pytorch-geometric.com/whl/torch-1.7.1+cpu.html to data.pyg.org. That host stopped resolving on 2026-09-02 (dangling CNAME to a retired CloudFront distribution; tracked upstream at pyg-team/pyg-lib#719 with no ETA). install_all.sh runs under set -euo pipefail, so the failed pip step aborts the whole install.

What we realised along the way

TS-GCN is not tested anywhere in our CI flow. gcn_test.py patches TS_GCN_PYTHON and mocks the subprocess boundary, settings.py resolves TS_GCN_PYTHON to None when the environment is absent, and gcn_available() already handles that. No workflow step runs the ts_gcn interpreter. CI has been building a heavyweight environment on every run and never using it.

Change

  • devtools/install_all.sh gains --no-gcn, the same shape as --no-goflow and --no-rits.
  • make install-ci passes it. make install and make install-gcn still build the environment for real deployments.
  • The workflow's PYTHONPATH step now adds only AutoTST. Nothing clones ../TS-GCN on the runner any more, so the old line would print a realpath error on every run.

Verified that no other installer still in the CI lane fetches from the dead host (install_goflow.sh and install_rits.sh reference it but were already outside install-ci), that docker_build.yml never calls install_all.sh, and that the associative-array unset behaves under set -u.

🤖 Generated with Claude Code

https://claude.ai/code/session_0155RJ4VFRKpXQPEUBU2G4ho

`make install-ci` builds the `ts_gcn` environment on every run, and that
environment's PyTorch Geometric wheels (torch-scatter, torch-sparse,
torch-cluster, torch-spline-conv) are all served from data.pyg.org. That
host stopped resolving on 2026-09-02 (pyg-team/pyg-lib#719), and because
install_all.sh runs under `set -euo pipefail`, the failed pip step aborts
the whole install before a single test runs. Main's scheduled run and
every open PR have been red since.

Nothing in CI executes the ts_gcn environment: gcn_test.py patches the
interpreter path and mocks the subprocess boundary, settings resolve
TS_GCN_PYTHON to None when the env is absent, and gcn_available() already
handles that. The install was pure cost.

install_all.sh gains --no-gcn, the same shape as --no-goflow and --no-rits,
and install-ci passes it. With the installer gone nothing clones ../TS-GCN
on the runner, so the PYTHONPATH step now adds only AutoTST instead of
printing a realpath error for a directory that no longer exists.
`make install-gcn` and a plain `make install` still build the environment
for real deployments.
@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.56%. Comparing base (54d7e8e) to head (5f2cf59).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1040      +/-   ##
==========================================
- Coverage   65.56%   65.56%   -0.01%     
==========================================
  Files         120      120              
  Lines       40516    40516              
  Branches    10441    10441              
==========================================
- Hits        26565    26563       -2     
- Misses      10948    10952       +4     
+ Partials     3003     3001       -2     
Flag Coverage Δ
functionaltests 65.56% <ø> (-0.01%) ⬇️
unittests 65.56% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@calvinp0 calvinp0 closed this Sep 3, 2026
@calvinp0

calvinp0 commented Sep 3, 2026

Copy link
Copy Markdown
Member Author

data.pyg.org is back

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