You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The objective is to establish an optional, explicit path for Irksome so that the Firedrake environment stack recognises it as a registered companion library. [2]
Add Extra Requirement Targets: Modify the core Firedrake setup.py / pyproject.toml to support an optional installation target:
pip install "firedrake[irksome]"
Inject into Component Manifest: Update Firedrake's internal components list module (often mapped via Git SHA-1 hashes during firedrake-install) to track Irksome if it exists inside the active virtual environment (sys.path). [2, 3]
Phase 2: Refactoring firedrake-zenodo
The utility script firedrake-zenodo must be modified to dynamically detect, validate, and serialize Irksome’s version metadata into the output snapshot. [4]
Dynamic Inspection: Update the component discovery loop in firedrake-zenodo to scan for irksome. If found, extract its current Git commit hash or package version. [3, 4]
Handle Flag Isolation: Introduce a CLI flag --with-irksome or implement automatic conditional detection to avoid script crashes for users running standard Firedrake installations. [4]
JSON Metadata Extension: Append the package data structure to the generated JSON configuration payload:
When a user publishes their simulation tracking data to Zenodo, the backend API script must chain the generation of DOIs. [4]
[ firedrake-zenodo CLI ] ──> Generates Combined JSON Metadata
│
├──> Post Core Firedrake Stack to Zenodo
└──> Post Irksome Hash to Zenodo (Conditional)
│
[ Combined DOI Token / Link Map Generated ]
Relational Metadata: Ensure the API payload utilizes Zenodo’s metadata schema relations (hasPart, isPartOf, or isCompiledBy) to bind the core Firedrake Zenodo record with the unique Irksome state used in the run. [5]
Error Tolerancing & Rate Limiting: Implement robust try-except loops around the Zenodo API calls to mitigate upstream rate limits when multi-part repository records are deployed concurrently. [6]
Phase 4: CI/CD & Testing Validation
To prevent future API shifts from breaking the verification stack, integration testing must be formalised within the Firedrake workflow infrastructure.
Mock API Assertions: Write unit tests using pytest and mock environments to assert that running firedrake-zenodo -t "Test Run" --with-irksome accurately generates valid schemas.
GitHub Actions Syncing: Add a testing workflow triggered on releases that validates the schema against the Zenodo deposition endpoint API rules. [4]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Phase 1: Environment & Dependency Management
The objective is to establish an optional, explicit path for Irksome so that the Firedrake environment stack recognises it as a registered companion library. [2]
pip install "firedrake[irksome]"
Phase 2: Refactoring firedrake-zenodo
The utility script firedrake-zenodo must be modified to dynamically detect, validate, and serialize Irksome’s version metadata into the output snapshot. [4]
{
"name": "irksome",
"version": "2026.x.x",
"git_sha": "abc123xyz..."
}
[4]
Phase 3: Zenodo API & Multi-Deposit Logic
When a user publishes their simulation tracking data to Zenodo, the backend API script must chain the generation of DOIs. [4]
[ firedrake-zenodo CLI ] ──> Generates Combined JSON Metadata
│
├──> Post Core Firedrake Stack to Zenodo
└──> Post Irksome Hash to Zenodo (Conditional)
│
[ Combined DOI Token / Link Map Generated ]
Phase 4: CI/CD & Testing Validation
To prevent future API shifts from breaking the verification stack, integration testing must be formalised within the Firedrake workflow infrastructure.
All reactions