Skip to content

M0: CI green, baker container, Dagger pipeline, vig-os scaffold - #12

Merged
gerchowl merged 12 commits into
mainfrom
dev
Apr 16, 2026
Merged

gerchowl merged 12 commits into
mainfrom
dev

Conversation

@gerchowl

@gerchowl gerchowl commented Apr 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bootstrap PR — direct dev→main (one-time exception, release workflows land with this merge).

  • Hatchling src layout fix, uv everywhere
  • Dagger CI pipeline: lint, test, smoke, probe-sources, push (semver tagged)
  • Slim + materialx Containerfiles (prebuilt amd64 wheels, no builder stage)
  • Nix devShell + direnv (python, uv, dagger, ruff, podman, git-hooks)
  • vig-os/devcontainer bootstrap (devcontainer, release workflows, pre-commit, issue templates)
  • GHCR preflight, branch protection with CI check, labels provisioned

Note: This is a bootstrap merge — subsequent releases follow the
vig-os flow: prepare-release → release/X.Y.Z → PR to main → tag → promote.

Test plan

  • ruff check src/ tests/ passes
  • pytest tests/ -v passes
  • dagger call lint passes
  • dagger call test passes
  • dagger call smoke passes (slim baker builds, pyarrow imports)
  • dagger call probe-sources — 4/4 upstream APIs reachable
  • CI green on dev (all pushes)
  • CI green on this PR
  • After merge: first v* tag triggers container push to GHCR

Closes #4

gerchowl and others added 12 commits April 16, 2026 20:09
- Add [tool.hatch.build.targets.wheel] packages for src layout
- Switch pip → uv in CI, Containerfile, and devcontainer
- Copy src/ in Containerfile so install succeeds
- Add container.yml to build+push baker image on main
- hatchling needs README.md present to build
- libgl1-mesa-glx → libgl1 (Debian Trixie)
- add build-essential for materialx compilation
- switch pip → uv across Containerfile, ci.yml, devcontainer
Builds the baker image and verifies pyarrow + materialx import
on every PR — catches Containerfile issues on amd64.
- flake.nix with devenv: python, uv, dagger, ruff, podman, git-hooks
- .envrc for direnv auto-activation
- Dagger Python module (.dagger/): build, lint, test, smoke, push
- Slim GHA to thin Dagger wrapper (single ci.yml replaces ci+container)
- .pre-commit-config.yaml for devcontainer users (ruff check+format)
- devcontainer postCreateCommand adds pre-commit install
- .gitignore entries for Nix/devenv and Dagger SDK
- No v8 major tag exists, pin to v8.4.1
- Force linux/amd64 platform so local arm64 builds match CI
From independent architecture review:

- ADR-0001: Parquet schema now includes all 7 channels (added
  displacement + emission as nullable) to match index/rowmap schemas
- New: docs/specs/field-name-mapping.md — canonical mapping between
  py-mat (metallic), mat-vis (metalness), Three.js, glTF
- mat#35 body rewritten: adapter signature is to_threejs(material),
  vis_source_id field in TOML for material→appearance mapping,
  resolve() returns ResolvedChannel dataclass
- mat#34 body rewritten: scope collapsed notice
- Containerfile: slim baker (python+pyarrow+pillow+uv), no C++ deps
- Containerfile.materialx: multi-stage — compile in builder, copy
  into slim base. Final image has no gcc/build-essential.
- Dagger: build vs build-materialx, smoke vs smoke-materialx
- Dagger: preflight function verifies GHCR auth before push
- push now ships both :latest (slim) and :materialx tags
Integrate vig-os template while preserving mat-vis Dagger pipeline:
- devcontainer: docker-compose based, vig-os base image, lifecycle scripts
- pre-commit: comprehensive hooks (ruff, shellcheck, yamllint, typos, etc.)
- GitHub: issue templates, PR template, CODEOWNERS, release workflows
- Tooling: justfile, hadolint, yamllint, pymarkdown configs
- Kept: Dagger ci.yml, baker pyproject.toml, Containerfiles, flake.nix
- Containerfile.materialx: prebuilt amd64 wheels exist (8MB), no
  builder stage needed, no gcc/build-essential
- CI push triggers on v* tags only (not every merge to main)
- Dagger push tags: :<version> + :latest, :<version>-materialx + :materialx
Lightweight probe: one request per source, 2s delay between,
validates HTTP 200 + expected JSON structure. Logs rate-limit
headers if present. Added to test-all pipeline.
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@gerchowl
gerchowl merged commit badbfde into main Apr 16, 2026
8 checks passed
gerchowl added a commit that referenced this pull request May 15, 2026
Bootstrap merge — vig-os release flow applies from here.
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.

2 participants