Skip to content

ci: discover oracle field adapters without per-port append blocks - #3916

Merged
zackees merged 2 commits into
masterfrom
fix/3910-oracle-adapter-discovery
Nov 7, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/3910-oracle-adapter-discovery

Conversation

@zackees

@zackees zackees commented Nov 7, 2026

Copy link
Copy Markdown
Member

Accessor ports append adjacent extraction blocks to the oracle build script and conflict when siblings merge. Discover the libobs/obs-*-fields.c.h directory glob in sorted order instead, preserving the existing filename rule (strip obs- and .c.h, replace hyphens with underscores). The existing recursive libobs Cargo watch detects new adapters; no metadata registry or dependency is added.

The new CI self-test rejects concrete adapter filenames in build.rs, including paths assigned before extraction, and includes a hand-written-block rejection fixture.

Refs #3910. Registration-list decentralization is split into native sub-issue #3915 as permitted by the assignment. Its distinct exact registration, linkage, CMake replay and runtime contracts deserve a focused migration. No existing registration assertions, public headers, existing C tests, WebSocket files or workflow files change.

Validation:

  • RED 3edb4cb: uv run ci/test_oracle_field_discovery.py exits 1, rejecting all three existing hand-written blocks. GREEN 9959de1: all four tests pass. Separate RED/GREEN commits pushed together under coordination.md section 4 (focused CI/configuration fix).
  • Oracle build passes with porcelain disabled and the Rust compiler wrapper disabled. Full OUT_DIR obs-nvenc-extract directories before/after are byte-identical (diff -ru exits 0), preserving filenames and #line directives.
  • Reduced obs-c-oracle test command passes (doctests only: this crate has no standalone executable under the category policy). The owning obs-tests-core category runs encoder_counters_parity, encoder_metadata_parity and canvas_readonly_getters_parity: 11 passed at reduced parity.
  • Complete obs-tests-app native_build:: module: 127 passed.
  • All 358 CI self-test files pass in serial lint. The initial standalone self-test command encountered a transient soldr active-lock refusal in test_local_gate_probe; the serial run passes that probe and every other file.
  • Native B2 portability passes; workspace formatting check passes; complete serial lint passes (297.5 s).
  • Two adapter-only local branches from GREEN merge cleanly with git merge-tree --write-tree (exit 0, tree e8e2e14069831a8b144f630c97c5dc34ad84b38b). Branches throwaway/3910-sibling-a and throwaway/3910-sibling-b remain local, unpushed and undeleted.
  • Fetched/rebased immediately before push; master was unchanged at 5fc902d. Remote head verified as 9959de1.

Test cost: no Rust tests or executables added or changed. Four Python source/fixture checks take 0.001 s and start no threads. Existing reduced parity modules take 0.00–0.01 s. Extraction wiring only: unchanged-C Tier 2 remains selected in PR CI; no protocol change requiring new Tier 4 coverage.

Local evidence is retained in slot obs-studio3 under build_ci_audit/3910/. Hosted validation and merge are not yet observed; handed off under the pool worker rule.

@zackees
zackees enabled auto-merge November 7, 2026 16:39
@zackees

zackees commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Handed off to the coordinator. Auto-merge is enabled with head pinned to 9959de1; remote head and autoMergeRequest verified. Local checks are green, including complete serial lint and all 127 native-build tests. Awaiting hosted PR gate/queue admission; not claiming a merge. Registration continuation is native sub-issue #3915. Retiring pool slot obs-studio3 per the assignment.

@zackees
zackees force-pushed the fix/3910-oracle-adapter-discovery branch from 9959de1 to 718c802 Compare November 7, 2026 16:55
@zackees

zackees commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Rebased 9959de1 onto master 5653407; new head 718c802. Removed the hotkey object-fields block added by #3871; discovery preserves its filename and the complete master/branch extract directories are byte-identical. Oracle build, 14 reduced extract-consumer parity tests, all 127 native_build tests, full CI self-tests, discovery guard and formatting pass. Exact-lease push verified; auto-merge remains enabled. Ready to land before the remaining build.rs siblings; none of their branches were touched.

@zackees
zackees force-pushed the fix/3910-oracle-adapter-discovery branch from 718c802 to 33a46c2 Compare November 7, 2026 17:54
@zackees

zackees commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

Rebased after #3919 onto master 9825053, replacing 718c802 with 33a46c2. Absorbed the new output pause field adapter into discovery; wrapper includes preserve its hyphenated generated name without a per-adapter exception. Full extract directories remain byte-identical to master. Passed discovery guard, oracle builds/reduced test command, obs-util (914 tests plus doctests), all 127 native_build tests, CI self-tests, and workspace fmt check. Auto-merge remains enabled; handed back to the pool coordinator for hosted CI.

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

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant