Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
1ad96f2
backbone now listed last in product
doublergreer Apr 6, 2026
fd65c9a
type correction on ligation products
doublergreer Apr 7, 2026
ee7451f
function to simplify complex plasmid part representation to a scar-TU…
doublergreer Apr 7, 2026
5640cd8
intermediate w/ annos not working
doublergreer Apr 8, 2026
d4ee967
encapsulate TU annotaitons and sequence
doublergreer Apr 14, 2026
e073084
constant list of tuples defining TU fusion site order for l2 assemblies
doublergreer Apr 14, 2026
3c26af0
grab first and last fusion site now in order they appear
doublergreer Apr 14, 2026
def5b8b
digestion now takes in Plasmid object; implementation selection happe…
doublergreer Apr 14, 2026
2747758
remove todo
doublergreer Apr 21, 2026
494ddcf
ligase and RE flow optimized + domestication added if not found
doublergreer Apr 21, 2026
69fea09
definition->identity
doublergreer Apr 21, 2026
d9fbdf2
lvl2 and multi-design lvl1 drafts
doublergreer Apr 27, 2026
88a3b44
docstring updates
doublergreer Apr 27, 2026
230f2ba
get referencing CD in extract toplevel definition
doublergreer Apr 28, 2026
de292b8
ironing out iterative lvl1
doublergreer Apr 28, 2026
a0f395c
better doc search in get_or_pull
doublergreer Apr 29, 2026
fb76b9c
added combinatorial design support to lvl1
doublergreer Apr 29, 2026
79b6b3a
new tests for digestion and ligation
doublergreer May 7, 2026
e622941
combinatorial test
doublergreer May 7, 2026
4e704fc
type and error handling adjustments
doublergreer May 8, 2026
a0bb9e0
adjusting backbone arg to allow for dictionary mapping design.display…
doublergreer May 8, 2026
cc967fe
type correction
doublergreer May 8, 2026
4e9f961
activity tests for digestion and ligation
doublergreer May 12, 2026
3dc25ee
test buildcompiler draft
doublergreer May 12, 2026
7d346cf
level 1 and first comb test complete
doublergreer May 12, 2026
da38668
removed superfluous prints
doublergreer May 12, 2026
d2fe409
new test suite
doublergreer May 12, 2026
feb64fa
synbiohub.org->api.synbiohub.org
doublergreer May 13, 2026
3384148
secret access for github job
doublergreer May 13, 2026
cecf73f
api for pulls only
doublergreer May 13, 2026
26e638d
api for collections
doublergreer May 13, 2026
f91e490
revert api for collections
doublergreer May 13, 2026
bb8d338
added server mode flag to add api. to canonical sbh registry uris
doublergreer May 13, 2026
776bc73
notebooks for creating various implementations used in buildcompiler
doublergreer May 13, 2026
767fa6b
decouple forward and reverse fusion site matching to fix skipped back…
doublergreer May 16, 2026
0454cfe
lvl2 working
doublergreer May 16, 2026
307f61c
lvl2 test draft
doublergreer May 17, 2026
9cebf0d
lvl1 TU tests for lvl2 assembly
doublergreer May 18, 2026
207b68c
transformation test
doublergreer May 18, 2026
1c67d56
notebook updates
doublergreer May 18, 2026
2237123
added transformation
doublergreer May 18, 2026
28cebdc
Merge branch 'full_build' into assembly_lvl2
Gonza10V Jul 9, 2026
2ed6001
Fix domestication BsaI implementation reference
Gonza10V Jul 9, 2026
f10a5b4
Respect supplied level 2 backbone
Gonza10V Jul 9, 2026
de4387a
Select top-level design for lvl2 TU extraction
Gonza10V Jul 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with unittest
env:
SBH_USERNAME: ${{ secrets.SBH_USERNAME }}
SBH_PASSWORD: ${{ secrets.SBH_PASSWORD }}
Comment on lines +40 to +42

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Skip online tests when secrets are unavailable

For pull_request runs from forks, GitHub documents that repository secrets are not passed to the runner, so these values expand to empty strings and the new setUpClass checks abort the whole unittest suite before any tests run. Because this workflow still runs on every pull_request, external contributors get guaranteed red CI unless the SynBioHub-backed tests are skipped or gated when credentials are absent.

Useful? React with 👍 / 👎.

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.

@codex good catch, please fix this issue

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Summary

  • Updated the Python package workflow to run the full unittest suite only when SBH_USERNAME and SBH_PASSWORD are available, preserving the credentialed SynBioHub test path. .github/workflows/python-package.ymlL39-L45
  • Added a fork-safe fallback path that skips the SynBioHub-backed test modules and runs the remaining tests with pytest when secrets are unavailable. .github/workflows/python-package.ymlL46-L50
  • Committed the change with commit a7c36bc and created a PR titled “Skip SynBioHub tests without credentials.”

Testing

  • git diff --check
  • bash -n /tmp/python-package-test-step.sh
  • ⚠️ python - <<'PY' from pathlib import Path try: import yaml except ImportError: print('PyYAML not installed; skipping YAML parse') else: with Path('.github/workflows/python-package.yml').open() as f: yaml.safe_load(f) print('YAML parsed successfully') PY (warning due to missing local PyYAML)
  • pytest tests --ignore=tests/test_buildcompiler.py --ignore=tests/test_core.py -q (failed in existing non-online tests with BuildCompiler missing _index_document_objects; unrelated to the workflow-only change)

View task →

run: |
python -m unittest discover -s tests
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,5 +254,16 @@ Testing priorities:
- `ARCHITECTURE.md` defines module boundaries and implementation contracts.
- `AGENT.md` defines how Codex should take tasks, report progress, and escalate decisions.
- `ADR-001.md` records the clean-architecture rewrite decision and its tradeoffs.

Codex should treat these files as the source of truth for implementation unless the user or ChatGPT explicitly revises them.

#### Running tests locally:
Run these bash commands to establish your SynBioHub account for collection access. These are saved in GitHub secrets for the automated test suite.

`export SBH_USERNAME=your_username`

`export SBH_PASSWORD=your_password`

Then run the tests with:

`uv run python -m unittest discover -s tests`

Loading
Loading