Skip to content

test: trial template tests on pilot (DO NOT MERGE)#2

Closed
JacobPEvans-personal wants to merge 2 commits into
mainfrom
feature/template-tests-trial
Closed

test: trial template tests on pilot (DO NOT MERGE)#2
JacobPEvans-personal wants to merge 2 commits into
mainfrom
feature/template-tests-trial

Conversation

@JacobPEvans-personal
Copy link
Copy Markdown
Member

Summary

Throwaway PR — sample-consumer verification gate for dryvist/cc-edge-pack-template#2.

Copies the new generic test files (tests/cribl_client.py, tests/test_routes.py, tests/test_pipelines.py) and pyrightconfig.json from the template's feature/full-test-suite branch onto the pilot's existing scaffolding. Confirms the new tests don't regress the pilot's harness before merging the template PR.

Will be closed without merging once CI proves green.

Expected outcome

  • 7 structural route tests PASS (pilot has real routes — no REPLACE_* placeholders)
  • 2 test_route_flow_executes_pipeline cases (one per pilot route) PASS — filters are canonical datatype=='X'
  • test_pipeline_processes_sample SKIPPED (no fixtures yet — fixtures land in a separate post-merge PR)
  • Required-fields assertion not exercised (no fixtures to invoke it on)

- Replace template skeletons with VisiCore gold-standard content:
  default/inputs.yml (file monitor + OTLP gRPC sources)
  default/pipelines/route.yml (claude-code-session-logs + claude-code-otel)
  default/pipelines/claude-code-otel/conf.yml
  default/pipelines/claude-code-session-logs/conf.yml
  default/samples.yml, default/pack.yml
  data/samples/ (19 captured sample events)
  package.json, README.md
- Preserve template tooling (tests/, Makefile, docker-compose.yml,
  .github/workflows/) for DRY across packs
- Validated locally: 7/7 route tests pass, pipeline tests skipped
  pending fixture authoring

Pilot for the dryvist/cc-edge-pack-template DRY scaffold; fixtures
will be added incrementally per data/samples/.expected.json convention.
Throwaway PR — DO NOT MERGE. Sample-consumer verification gate for
dryvist/cc-edge-pack-template#2. Validates the new template tests don't
regress the pilot's existing scaffolding before merging the template PR.

(claude)
@JacobPEvans-personal
Copy link
Copy Markdown
Member Author

Throwaway sample-consumer trial for the now-superseded Python template extensions PR. No longer needed. Branch retained for reference.

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.

1 participant