Skip to content

Add explanation docs - #69

Merged
MJGaughran merged 9 commits into
mainfrom
add-explanation-docs
Jul 23, 2026
Merged

Add explanation docs#69
MJGaughran merged 9 commits into
mainfrom
add-explanation-docs

Conversation

@MJGaughran

Copy link
Copy Markdown
Contributor

There's a lot of words in the docs, so I've split them into two PRs.

The next PR will include an end-to-end tutorial plus CI pipeline configuration docs.

@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.48%. Comparing base (328d1fd) to head (0f88183).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #69   +/-   ##
=======================================
  Coverage   99.48%   99.48%           
=======================================
  Files          27       27           
  Lines         979      979           
=======================================
  Hits          974      974           
  Misses          5        5           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread docs/explanations/snapshots-and-compare.md Outdated
Comment thread docs/explanations/snapshots-and-compare.md Outdated
Comment thread docs/explanations/snapshots-and-compare.md
Comment thread docs/schemas.md Outdated
Comment thread README.md Outdated
|**Step**|**Description** |**Run by**|
|--------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|
|Compare |Compare the snapshot taken of the previous deployment with the modulefiles and built modules that already exist. This ensures that the Deployment Area is in a healthy state |`compare` |
|Validate|Process the updated configuration. By comparing the new configuration files with a snapshot from the previous deployment, we determine the set of actions that need to be taken |`validate`, `sync`|

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Does validate not run compare in order to validate?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No, compare ensures that the deployment area is healthy. Validate ensures that the new configuration (and lifecyle transitions compared to the current snapshot) are valid.

Validate just assumes that the current snapshot is accurate.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ah okay i understand now

Should "with a snapshot" be "with the snapshot file"? We are referring to the deployment.yaml file right? Sometimes the language is a bit imprecise, I think it would be better to just mention this file directly rather than saying snapshot in some places.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Used more specific language, and consistent terms between different sections

Comment thread docs/explanations/default-versions.md Outdated
Comment on lines 52 to 53
- `compare --use-ref <ref>` compares the area against the snapshot stored at a previous
git commit of the deployment area (e.g. `HEAD~1`), since each `sync` commits the

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I dont like ,since each sync commits the snapshot. but im not sure how to improve it. Maybe just remove it from here? It doesnt read very well

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Revised

@MJGaughran
MJGaughran merged commit 9f29f43 into main Jul 23, 2026
11 checks passed
@MJGaughran
MJGaughran deleted the add-explanation-docs branch July 23, 2026 15:03
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