You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by GitBox <gi...@apache.org> on 2026/04/13 00:02:36 UTC

[GH] (tvm-ffi/main): Workflow run "mainline-only" failed!

The GitHub Actions job "mainline-only" on tvm-ffi.git/main has failed.
Run started by GitHub user junrushao (triggered by junrushao).

Head commit for run:
cc1346a573d02a3836ad73d8e7850e14cb8d7eb0 / Junru Shao <ju...@apache.org>
refactor(dataclass): consolidate dunder method installation into _dunder.py (#541)

## Summary

- Consolidate
`__new__`/`__init__`/`__repr__`/eq/ne/ordering/hash/copy/deepcopy/replace
installation for `@c_class` and `@py_class` into a single `_dunder.py`
module with `_install_dataclass_dunders` as the entry point
- Introduce `__ffi_new__` and `__ffi_init__`/`__ffi_init_inplace__` as
universal `TypeAttrColumns`, replacing ad-hoc `__c_ffi_init__` renaming
and `auto_init` metadata
- Remove `init.h`; consolidate C++ registration into `dataclass.cc`;
eliminate `ffi.NewEmpty`, `ffi.MakeFFINew`, `ffi.RegisterAutoInit`
- `py_class` uses `__ffi_init_inplace__` (object pre-allocated by
`__new__`), `c_class` uses `__ffi_init__` (via
`__init_handle_by_constructor__`)
- Use factory pattern for copy/deepcopy/replace with install-time
resolution
- Add `KW_ONLY` regression tests

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org