Skip to content

PNE-9649: Remove allowed_names from ProcessTemplate - #1076

Closed
wjohnald wants to merge 2 commits into
mainfrom
PNE-9649-remove-allowed-names
Closed

wjohnald wants to merge 2 commits into
mainfrom
PNE-9649-remove-allowed-names

Conversation

@wjohnald

Copy link
Copy Markdown
Contributor

Citrine Python PR

Description

This PR removes allowed_names from ProcessTemplate, so Citrine Python neither sends the field nor passes it to gemd. The Citrine Platform ignores the field, and epic PNE-9643 drops it from the backend and from gemd-python.

Removing the constructor argument changes the public API, so the version moves to 6.0.0.

gemd 3 objects include the field, so five tests that compared a gemd object with a Citrine object build both sides as Citrine objects.

This PR also adds e2e-development-e2e.yml. It installs this checkout's citrine and runs the nextgen-devkit end-to-end suite against development-e2e, as nextgen-devkit's pr-development.yml does. citrine-python cannot see the e2e secrets yet, so the job skips its steps and ends green until an org admin grants DEV_E2E_API_KEY_FE_ADMIN, DEV_E2E_API_KEY_OTHER_USER, DEVKIT_APP_ID, and DEVKIT_APP_PRIVATE_KEY. Until then, I dispatch the devkit run against this branch and post the result as a comment.

The unit suite passes with 100% coverage, and flake8 passes.

PR Type:

  • Breaking change (fix or feature that would cause existing functionality to change)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Maintenance (non-breaking change to assist developers)

Adherence to team decisions

  • I have added tests for 100% coverage
  • I have written Numpy-style docstrings for every method and class.
  • I have communicated the downstream consequences of the PR to others.
  • I have bumped the version in __version__.py

🤖 Generated with Claude Code

wjohnald and others added 2 commits November 15, 2026 09:48
The Citrine Platform ignores allowed_names on process templates, and
gemd-python drops the field in 4.0.0. Citrine Python no longer reads,
writes, or passes the field to gemd.

gemd 3 objects still carry the field, so five tests that compared a gemd
object with a Citrine object now build both sides as Citrine objects.

Removing the constructor argument changes the public API, so the version
moves to 6.0.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The workflow installs citrine from this checkout and runs the
nextgen-devkit end-to-end suite against development-e2e. It mirrors
nextgen-devkit's pr-development.yml.

citrine-python cannot see the e2e secrets yet. Until it can, the job
skips its steps and ends green.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wjohnald

Copy link
Copy Markdown
Contributor Author

development-e2e run

I dispatched nextgen-devkit's pr-development.yml against this branch. It installed citrine from commit 9df41ce, which removes allowed_names, and ran the devkit end-to-end suite against development-e2e.

All 27 tests passed in 2 minutes 23 seconds.

Run: https://github.com/CitrineInformatics/nextgen-devkit/actions/runs/43727014025

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