The GitHub Actions job "CI" on 
tvm-ffi.git/junrushao/2026-07-15/generate-layout-compatible-cpp-object-declarations
 has failed.
Run started by GitHub user junrushao (triggered by junrushao).

Head commit for run:
4c95e6b08cca3742093edc00d6b9926c3b0ba30f / Junru Shao <[email protected]>
fix(abi): tolerate incomplete object types in traits

Architecture:
- Gate object-subclass detection on type completeness so forward declarations 
resolve to false without instantiating std::is_base_of on an incomplete type.
- Keep generated-object container checks on the upstream ObjectPtr boundary and 
declare the existing TypeInfo metadata consumed by the ABI generator.

Public Interfaces:
- No supported API, ABI, schema, configuration, or CLI surface changes.
- The Python stub now exposes existing TypeInfo attributes; the internal trait 
becomes well-formed for incomplete types while retaining complete-type 
classification.

UI/UX:
- none

Behavioral Changes:
- ty recognizes total_size and _has_type_metadata on TypeInfo.
- clang-tidy can instantiate storage checks for undeclared object types, and 
container covariance tests use explicit ObjectPtr element types.

Docs:
- No docs updated; this is an internal typing and compile-compatibility 
correction with no user-facing contract change.

Tests:
- Executed: pre-commit run ty --all-files
- Executed: pre-commit run clang-format --files include/tvm/ffi/object.h 
tests/cpp/test_object_ptr.cc
- Executed: uv run --no-project --with clang-tidy==21.1.1 python 
tests/lint/clang_tidy_precommit.py --build-dir=build-pre-commit --jobs=4 
tests/cpp/test_abi_object.cc tests/cpp/test_object_ptr.cc
- Executed: cmake --build build_test --parallel 4 --config Debug --target 
tvm_ffi_tests
- Executed: ctest -V -C Debug --test-dir build_test --output-on-failure
- Result: all checks passed; 450 enabled CTest cases passed and 2 remained 
disabled.

Untested Edge Cases:
- Linux GCC 14 and Windows compiler matrices were not run locally; CI remains 
responsible for cross-platform template-instantiation coverage.
- Python runtime tests were not rerun because the Python change is 
declaration-only and ty covers the affected consumer.

Refs: https://github.com/apache/tvm-ffi/pull/669

Report URL: https://github.com/apache/tvm-ffi/actions/runs/29448296387

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to