Skip to content

Rebuild integration tests and CI around the service architecture - #38

Merged
VPRamon merged 4 commits into
mainfrom
12-rebuild-service-integration-ci
Oct 4, 2026
Merged

VPRamon merged 4 commits into
mainfrom
12-rebuild-service-integration-ci

Conversation

@VPRamon

@VPRamon VPRamon commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Summary

Closes #12

This PR aligns the test and CI strategy with the post-#10/#11 service architecture.

What changed

  • Documented the test pyramid and ownership boundary:
    • spod owns configuration, orchestration, lifecycle, artifacts, provenance, CLI, REST, and deployment-boundary tests.
    • Siderust owns reusable scientific correctness tests.
    • Local full Vallado SGP4/SDP4 parity remains an explicit temporary product exception.
  • Strengthened synthetic service coverage for unknown YAML fields, empty run IDs, required TwoBody behavior, relative output paths, manifest output kinds, hashes/sizes, and complete artifact/provenance behavior.
  • Strengthened canonical job lifecycle assertions for successful and failed terminal states, stable serialized names, and result/error exclusivity.
  • Strengthened REST success assertions for workflow, run ID, and all artifact metadata while retaining real router and process smoke coverage.
  • Added scripts/check_architecture.sh, a narrowly scoped source-pattern guard against new local generic scientific implementation types. It is not a filename blacklist and explicitly excludes the documented src/sgp4/ exception.
  • Rewrote stale multi-crate dependency/dispatch documentation for the current spod -> Siderust 0.12 architecture.
  • Made compilation, lint, test, doctest, and documentation CI commands use --locked where reproducibility matters, and wired the architecture guard into project guards.

Validation

Passed locally:

  • cargo fmt --all -- --check
  • cargo check --locked --workspace --all-targets --all-features
  • cargo clippy --locked --workspace --all-targets --all-features -- -D warnings
  • default, --no-default-features, and --all-features workspace test matrices
  • cargo test --locked --doc --workspace --all-features
  • cargo doc --locked --workspace --no-deps
  • cargo deny --all-features check
  • dependency, TODO, legacy-name, and new architecture guards
  • CLI validation/run using examples/configs/leo_gnss_mvp1.yaml
  • REST process smoke path and Docker image/CLI smoke path
  • Vallado near-Earth, deep-space, and propagation-error parity tests remain passing

The PR does not add scientific algorithms, real-data POD, persistence, authentication, or SGP4 upstream parity work.

Consolidate service-oriented test documentation and lifecycle/artifact assertions, add source hygiene enforcement, and make CI dependency-locked.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 663a1d437d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/check_architecture.sh Outdated
Comment thread scripts/check_architecture.sh Outdated
VPRamon and others added 3 commits October 4, 2026 23:44
Exclude only src/sgp4 explicitly, distinguish grep matches from checker errors, and make the unknown-field configuration test isolate deny_unknown_fields diagnostics.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Cover restricted Rust visibility forms, the exact src/sgp4 exception boundary, and checker failures in temporary fixture trees.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@VPRamon
VPRamon merged commit 3b27df9 into main Oct 4, 2026
14 checks passed
@VPRamon
VPRamon deleted the 12-rebuild-service-integration-ci branch October 4, 2026 21:55
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.

Rebuild integration tests and CI around the service architecture

1 participant