Skip to content

Add environment snapshot indexing - #100

Merged
yoshifuminakamura merged 1 commit into
developfrom
feature/environment-snapshot
Aug 10, 2026
Merged

Add environment snapshot indexing#100
yoshifuminakamura merged 1 commit into
developfrom
feature/environment-snapshot

Conversation

@yoshifuminakamura

Copy link
Copy Markdown
Collaborator

Summary

Adds the first environment snapshot path for Portal-triggered and generated CI results.

Changes

  • Collect lightweight environment snapshots from generated GitLab CI build/run/build_run wrappers
  • Keep application build.sh and run.sh scripts untouched
  • Combine snapshot artifacts into a Result JSON environment_snapshot reference block
  • Index snapshots by canonical SHA-256 hash in the Portal SQLite DB
  • Link received results to snapshots through environment_snapshot_results
  • Show snapshot summary fields on result detail pages
  • Update handoff docs to describe environment snapshots as result-time evidence, not profile policy

Validation

  • .venv/bin/python result_server/tests/run_result_server_tests.py
  • .venv/bin/python result_server/tests/check_site_config.py
  • shellcheck -S error scripts/collect_environment_snapshot.sh scripts/result.sh scripts/matrix_generate.sh scripts/result_server/process_and_send_results.sh scripts/tests/test_process_and_send_results.sh
  • bash scripts/tests/test_process_and_send_results.sh

Signed-off-by: yoshifuminakamura <nakamura@riken.jp>
@yoshifuminakamura
yoshifuminakamura merged commit d32922d into develop Aug 10, 2026
9 checks passed
@yoshifuminakamura
yoshifuminakamura deleted the feature/environment-snapshot branch August 10, 2026 06:51
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