chore: delete legacy functional-tests directory (STR-2085)#1581
chore: delete legacy functional-tests directory (STR-2085)#1581
Conversation
|
Commit: 928cb1e SP1 Execution Results
|
Codecov Report✅ All modified and coverable lines are covered by tests.
@@ Coverage Diff @@
## main #1581 +/- ##
==========================================
- Coverage 72.35% 62.47% -9.89%
==========================================
Files 687 685 -2
Lines 69959 69863 -96
==========================================
- Hits 50622 43644 -6978
- Misses 19337 26219 +6882
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
storopoli
left a comment
There was a problem hiding this comment.
Should we also rename functional-tests-new to simply functional-tests in this PR as well? (I think so)
0a04001 to
f3130d6
Compare
| commit-message: | ||
| prefix: "chore(deps)" | ||
| include: "scope" | ||
| # Legacy functional-tests/ removed — see functional-tests/ |
There was a problem hiding this comment.
Restored now. The uv block's directory path /functional-tests/ is identical after the rename, so it covers the new framework without any changes.
final tree should be correct. This is because how commits are structured |
|
some merge conflicts, will review more thoroughly shortly |
efe9f15 to
f81f15c
Compare
|
@delbonis ping, should be ready to merge now. |
|
MERGE CONFLICTS NOOO |
|
I'll fix them and force-merge |
Remove the entire functional-tests/ directory. All valuable tests have been migrated to functional-tests-new/ or their invariants tracked in JIRA/Notion. Sync tests: added test_sync_genesis to functional-tests-new. Fullnode lag restart test deferred — fullnode sync not yet implemented in new strata binary (tracked in STR-2091). Also: - Fix bug in strata_seq_fullnode.py: pass genesis_l1.blk.height (int) not GenesisL1View object to create_node() - Delete .github/workflows/functional.yml (legacy test workflow) - Update test-coverage.yml, main-eest.yml, dependabot.yml, CODEOWNERS - Update AGENTS.md, README.md, CONTRIBUTING.md references
Now that the legacy functional-tests/ directory is deleted, drop the -new suffix. Updates all references across CI workflows, justfile, CODEOWNERS, Dockerfile, docs, and .dockerignore.
Test run data directory contains generated TOML files that should not be linted.
…085) - CODEOWNERS: drop fn_*.py and constants.py patterns that match nothing in the new layout. - dependabot.yml: restore the uv ecosystem entry for functional-tests/. It was dropped with the legacy delete, but the path is unchanged after the rename so the new framework still needs Python dependency updates. - functional.yml: filter the coverage-instrumented cargo build to the binaries the new tests actually use, and update the which assertion from strata-client to strata. - FUNCTIONAL_TEST_MIGRATION_STATUS.md: delete the migration tracking doc now that the legacy tree is gone.
The btcio tests (added by PR #1451) were added to main after the rename commit was written. The rebase didn't capture them, leaving orphaned tracked files under functional-tests-new/tests/btcio/.
f9f4bc9
f81f15c to
f9f4bc9
Compare
|
@voidash heads-up I've rebased this branch and will force merge when CI is all green. 🤞🏻 |
|
Ok all green merging this! |
This is done. updated the merge queue requirements. Cc @barakshani |
|
@storopoli this is good that it got merged and I like fast development cycles but there was an unresolved concern of mine. I saw you left some reminders for yourself, I guess, you can incorporate it there. |
|
You mean the |



Summary
Deletes the entire
functional-tests/directory. All tests have been migrated tofunctional-tests-new/or their invariants tracked in JIRA/Notion.What's deleted
tests/btcio/(6 files), RPCs removed from new binarytests/crash/(4 files), migrated in PR feat(test): add crash injection to new strata binary (STR-2092) #1580tests/dbtool/, already migratedtests/sync/(5 files), sync_genesis migrated below, rest purged (RPCs don't exist)tests/prover/, purged in PR chore(functional-tests): purge legacy prover tests (STR-2092) #1517tests/el_sync_from_chainstate.py, reth-specific, tracked in STR-2091What's added
test_sync_genesis.pyverifies chain reaches genesis and tip advances consistentlystrata_seq_fullnode.py: was passingGenesisL1Viewobject instead ofinttocreate_node()CI changes
.github/workflows/functional.yml(legacy test workflow)test-coverage.ymlto remove legacy test jobmain-eest.ymlto usefunctional-tests-new/dependabot.yml,CODEOWNERSTest plan
test_sync_genesispasses locallyfunctional-tests-newworkflow passesfunctional-tests/in CI or docs