mirror of
https://github.com/logos-co/logos-test-framework.git
synced 2026-08-27 07:31:07 +00:00
* feat: take the Qt host runtime from logos-qt-host, not logos-qt-sdk LogosTest.cmake linked logos-qt-sdk::logos_qt_sdk for the host runtime a module test needs — LogosAPI, LogosAPIProvider, the provider bases. B1 moved that code to logos-plugin-qt, which exports it as logos-qt-host::logos_qt_host, so name that target instead. The root it comes from is picked from LOGOS_QT_HOST_ROOT, falling back to LOGOS_QT_SDK_ROOT. The fallback is not decoration: every caller today reaches this file through logos-module-builder, which passes only LOGOS_QT_SDK_ROOT, and requiring the new variable would take every module's unit-tests check down until that repo moves. Whichever root is chosen is reported by name in the configure log, and the imported target is checked before it is linked — a find_package that hands back no target now stops the configure instead of deferring to a wall of undefined LogosAPI symbols. logos-qt-sdk stays an input and stays on the include path when a caller supplies both roots, because it still owns the Qt-typed headers that are NOT the host runtime: logos_qt_lp_bridge.h and logos_qt_wire.h (generated consumer wrappers include them by name) and logos_ui_plugin_context.h. It is ordered after the host runtime's include dir so the five shared header names resolve to qt-host. Two things this repo never had are added so the repoint is verifiable here at all: `checks.<sys>.example-tests` builds and runs examples/basic-module-test through LogosTest.cmake on the qt-host path, and `example-tests-qt-sdk` does the same on the fallback path so a change to one cannot quietly break the other. Both were needed to find two latent breaks in nix/mkLogosModuleTests.nix — it never passed CMAKE_MODULE_PATH, so `include(LogosTest)` could not resolve, and its checkPhase drove ctest, which reports "No tests were found!!!" and exits 0. The check phase now locates the test binaries itself and fails when there are none. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * feat(b2b): LOGOS_QT_HOST_ROOT is the only host-runtime root LogosTest.cmake accepted LOGOS_QT_SDK_ROOT as an alternative source of the Qt host runtime, for callers that had not migrated. logos-qt-sdk stopped forwarding those headers, so that branch now configures cleanly -- QT_HOST_INCLUDE is set, find_package(logos-qt-sdk) resolves, the target imports -- and then dies much later on "logos_api.h: No such file". It is deleted; a missing LOGOS_QT_HOST_ROOT is a FATAL_ERROR that names logos-qt-sdk as explicitly NOT a substitute. LOGOS_QT_SDK_ROOT keeps its other, real job: the Qt-typed consumer headers logos-qt-sdk owns (logos_qt_lp_bridge.h, logos_qt_wire.h, logos_ui_plugin_context.h). That block's layout probe moves off logos_api.h -- absent from both of that prefix's layouts now -- onto logos_qt_wire.h. mkLogosModuleTests.nix makes logosQtHost a required argument instead of one half of a two-way assert, and the flake drops the example-tests-qt-sdk check, which existed to cover the pre-split path that no longer exists. logosQtSdk is passed alongside logosQtHost in the remaining check so the Qt-typed headers stay covered. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * chore(deps): rev-pin the B4 chain at the revs that are actually pushed The lock this branch carried named logos-plugin-qt 8ccb1fc, which is a stale commit on feat/sdk-codegen-b3-d11 and an ancestor of NEITHER b4 branch, so the qt-host this repo's LogosTest.cmake links predated the windows-target work every other consumer in the chain has moved to. The other three inputs were worse than stale: their urls tracked master, and the revs beside them were only ever right by accident. All four are now rev-pinned in the url, because none of them is on a master: logos-protocol c8bab12 feat/per-client-token-store (contains e6d5b57) logos-cpp-sdk a04b278 feat/sdk-codegen-b3-d11 (contains e3744fb8) logos-plugin-qt cc24fa1 feat/b4-qt-host-windows-target (contains 8846fc5) logos-qt-sdk 8a06b87 feat/sdk-codegen-b3-d11 (contains c6be61d) Every one is a fast-forward from its own master, so nothing is dropped, and each is the rev logos-qt-sdk and logos-view-module-runtime already pin — which is the point of cc24fa1 in particular. logos-qt-sdk pins plugin-qt in its own url and this flake does not redirect it, so a different root pin would put two logos-qt-host prefixes on one link line. They resolve to a single store path (v780ipqq), verified by evaluating both instances. checks.aarch64-darwin.example-tests builds and its six tests run and pass. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * chore(deps): track master for protocol, cpp-sdk, plugin-qt and qt-sdk All four upstream PRs merged (#59, #138, #19, #33), so the rev pins that bridged to them are retired and their rationales rewritten. The logos-plugin-qt `follows` on the logos-qt-sdk input STAYS, and is now the only thing holding the property the rev pin used to hold with it: qt-sdk's default package propagates whatever logos-qt-host it resolved, so without the follows the example tests could see two logos-qt-host store paths. Verified: the example-tests closure contains exactly ONE logos-qt-host derivation. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
414 lines
10 KiB
JSON
414 lines
10 KiB
JSON
{
|
|
"nodes": {
|
|
"logos-cpp-sdk": {
|
|
"inputs": {
|
|
"logos-lidl": "logos-lidl",
|
|
"logos-nix": "logos-nix",
|
|
"logos-protocol": "logos-protocol",
|
|
"nixpkgs": [
|
|
"logos-cpp-sdk",
|
|
"logos-nix",
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1787165370,
|
|
"narHash": "sha256-FR42+iUeeF+UEmwKZ7a0GPHyJTcuhzq0bsBo3ggUZUg=",
|
|
"owner": "logos-co",
|
|
"repo": "logos-cpp-sdk",
|
|
"rev": "95d7b3a9c5ef845bdc31f12f1d8222a12eda916d",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "logos-co",
|
|
"repo": "logos-cpp-sdk",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"logos-lidl": {
|
|
"inputs": {
|
|
"logos-nix": [
|
|
"logos-cpp-sdk",
|
|
"logos-nix"
|
|
],
|
|
"nixpkgs": [
|
|
"logos-cpp-sdk",
|
|
"logos-lidl",
|
|
"logos-nix",
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1786415321,
|
|
"narHash": "sha256-Oe98SavQSVGBIY7WIc8RQ5l+Bl4KLsdmjb+PyscfdNw=",
|
|
"owner": "logos-co",
|
|
"repo": "logos-lidl",
|
|
"rev": "ffeebf2e90fa0c65e8c486988271fe0ca029d1e1",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "logos-co",
|
|
"repo": "logos-lidl",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"logos-lidl_2": {
|
|
"inputs": {
|
|
"logos-nix": [
|
|
"logos-plugin-qt",
|
|
"logos-nix"
|
|
],
|
|
"nixpkgs": [
|
|
"logos-plugin-qt",
|
|
"logos-lidl",
|
|
"logos-nix",
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1786415321,
|
|
"narHash": "sha256-Oe98SavQSVGBIY7WIc8RQ5l+Bl4KLsdmjb+PyscfdNw=",
|
|
"owner": "logos-co",
|
|
"repo": "logos-lidl",
|
|
"rev": "ffeebf2e90fa0c65e8c486988271fe0ca029d1e1",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "logos-co",
|
|
"repo": "logos-lidl",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"logos-lidl_3": {
|
|
"inputs": {
|
|
"logos-nix": [
|
|
"logos-qt-sdk",
|
|
"logos-nix"
|
|
],
|
|
"nixpkgs": [
|
|
"logos-qt-sdk",
|
|
"logos-lidl",
|
|
"logos-nix",
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1786415321,
|
|
"narHash": "sha256-Oe98SavQSVGBIY7WIc8RQ5l+Bl4KLsdmjb+PyscfdNw=",
|
|
"owner": "logos-co",
|
|
"repo": "logos-lidl",
|
|
"rev": "ffeebf2e90fa0c65e8c486988271fe0ca029d1e1",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "logos-co",
|
|
"repo": "logos-lidl",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"logos-module": {
|
|
"inputs": {
|
|
"logos-nix": "logos-nix_3",
|
|
"nixpkgs": [
|
|
"logos-plugin-qt",
|
|
"logos-module",
|
|
"logos-nix",
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1786415910,
|
|
"narHash": "sha256-7zcTkY6r0iXXaFnZaWKNBMHh53RkQh2P455421TX7Gk=",
|
|
"owner": "logos-co",
|
|
"repo": "logos-module",
|
|
"rev": "9812dc8c69cfbfed3eea06510a5c1ff33c1fcf7f",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "logos-co",
|
|
"repo": "logos-module",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"logos-nix": {
|
|
"inputs": {
|
|
"nixpkgs": "nixpkgs",
|
|
"nixpkgs-windows": "nixpkgs-windows"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1786399295,
|
|
"narHash": "sha256-Bl1A0UgsIXioZw5uEW8Jl5u7FfZcFMnpYlpsdezFwK0=",
|
|
"owner": "logos-co",
|
|
"repo": "logos-nix",
|
|
"rev": "6e0f4a7120fced10829b0b3a698ff619a11d4605",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "logos-co",
|
|
"repo": "logos-nix",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"logos-nix_2": {
|
|
"inputs": {
|
|
"nixpkgs": "nixpkgs_2",
|
|
"nixpkgs-windows": "nixpkgs-windows_2"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1786399295,
|
|
"narHash": "sha256-Bl1A0UgsIXioZw5uEW8Jl5u7FfZcFMnpYlpsdezFwK0=",
|
|
"owner": "logos-co",
|
|
"repo": "logos-nix",
|
|
"rev": "6e0f4a7120fced10829b0b3a698ff619a11d4605",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "logos-co",
|
|
"repo": "logos-nix",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"logos-nix_3": {
|
|
"inputs": {
|
|
"nixpkgs": "nixpkgs_3",
|
|
"nixpkgs-windows": "nixpkgs-windows_3"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1786399295,
|
|
"narHash": "sha256-Bl1A0UgsIXioZw5uEW8Jl5u7FfZcFMnpYlpsdezFwK0=",
|
|
"owner": "logos-co",
|
|
"repo": "logos-nix",
|
|
"rev": "6e0f4a7120fced10829b0b3a698ff619a11d4605",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "logos-co",
|
|
"repo": "logos-nix",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"logos-plugin-qt": {
|
|
"inputs": {
|
|
"logos-lidl": "logos-lidl_2",
|
|
"logos-module": "logos-module",
|
|
"logos-nix": [
|
|
"logos-nix"
|
|
],
|
|
"logos-protocol": [
|
|
"logos-protocol"
|
|
],
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1787165449,
|
|
"narHash": "sha256-X/TaIJA+5o1VLfizu3NLPp/fhisIph8sXG0h0yHDlpo=",
|
|
"owner": "logos-co",
|
|
"repo": "logos-plugin-qt",
|
|
"rev": "9b2c64e5a480245b5333e20183a4a3c572d543cc",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "logos-co",
|
|
"repo": "logos-plugin-qt",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"logos-protocol": {
|
|
"inputs": {
|
|
"logos-nix": [
|
|
"logos-cpp-sdk",
|
|
"logos-nix"
|
|
],
|
|
"nixpkgs": [
|
|
"logos-cpp-sdk",
|
|
"logos-protocol",
|
|
"logos-nix",
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1787107309,
|
|
"narHash": "sha256-oNfr0T6OrD1D56rf1brXH+9hJoJvTaPpvUdy/d62SPs=",
|
|
"owner": "logos-co",
|
|
"repo": "logos-protocol",
|
|
"rev": "f4407ff4854bdaf486182547af5b55f4a0f55229",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "logos-co",
|
|
"repo": "logos-protocol",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"logos-protocol_2": {
|
|
"inputs": {
|
|
"logos-nix": [
|
|
"logos-nix"
|
|
],
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1787107309,
|
|
"narHash": "sha256-oNfr0T6OrD1D56rf1brXH+9hJoJvTaPpvUdy/d62SPs=",
|
|
"owner": "logos-co",
|
|
"repo": "logos-protocol",
|
|
"rev": "f4407ff4854bdaf486182547af5b55f4a0f55229",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "logos-co",
|
|
"repo": "logos-protocol",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"logos-qt-sdk": {
|
|
"inputs": {
|
|
"logos-cpp-sdk": [
|
|
"logos-cpp-sdk"
|
|
],
|
|
"logos-lidl": "logos-lidl_3",
|
|
"logos-nix": [
|
|
"logos-nix"
|
|
],
|
|
"logos-plugin-qt": [
|
|
"logos-plugin-qt"
|
|
],
|
|
"logos-protocol": [
|
|
"logos-protocol"
|
|
],
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1787168233,
|
|
"narHash": "sha256-Mk8rBoRItqNQP3lN4dFETK+rerVBAYN1oMYQk5zkbfU=",
|
|
"owner": "logos-co",
|
|
"repo": "logos-qt-sdk",
|
|
"rev": "19c844f28b339695a34236f815de71a9836d3bdd",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "logos-co",
|
|
"repo": "logos-qt-sdk",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs": {
|
|
"locked": {
|
|
"lastModified": 1759036355,
|
|
"narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "e9f00bd893984bc8ce46c895c3bf7cac95331127",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"ref": "nixos-unstable",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs-windows": {
|
|
"locked": {
|
|
"lastModified": 1782723713,
|
|
"narHash": "sha256-oPXCU/SSUokcGaJREHibG1CBX3+s/W7orDWQOZDsEeQ=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "b5aa0fbd538984f6e3d201be0005b4463d8b09f8",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "b5aa0fbd538984f6e3d201be0005b4463d8b09f8",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs-windows_2": {
|
|
"locked": {
|
|
"lastModified": 1782723713,
|
|
"narHash": "sha256-oPXCU/SSUokcGaJREHibG1CBX3+s/W7orDWQOZDsEeQ=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "b5aa0fbd538984f6e3d201be0005b4463d8b09f8",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "b5aa0fbd538984f6e3d201be0005b4463d8b09f8",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs-windows_3": {
|
|
"locked": {
|
|
"lastModified": 1782723713,
|
|
"narHash": "sha256-oPXCU/SSUokcGaJREHibG1CBX3+s/W7orDWQOZDsEeQ=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "b5aa0fbd538984f6e3d201be0005b4463d8b09f8",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "b5aa0fbd538984f6e3d201be0005b4463d8b09f8",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs_2": {
|
|
"locked": {
|
|
"lastModified": 1759036355,
|
|
"narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "e9f00bd893984bc8ce46c895c3bf7cac95331127",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"ref": "nixos-unstable",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs_3": {
|
|
"locked": {
|
|
"lastModified": 1759036355,
|
|
"narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "e9f00bd893984bc8ce46c895c3bf7cac95331127",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"ref": "nixos-unstable",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"logos-cpp-sdk": "logos-cpp-sdk",
|
|
"logos-nix": "logos-nix_2",
|
|
"logos-plugin-qt": "logos-plugin-qt",
|
|
"logos-protocol": "logos-protocol_2",
|
|
"logos-qt-sdk": "logos-qt-sdk",
|
|
"nixpkgs": [
|
|
"logos-nix",
|
|
"nixpkgs"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|