Repository navigation
Fix HNS result cleanup and workflow deletion recovery - #1726
Merged
Paul Lizer (paullizer) merged 1 commit intoOct 8, 2026
Conversation
Validate and delete empty HNS directories after scoped result files. Keep deletion failures retryable, return JSON cancellation conflicts, withhold deletion-fenced previews, and allow aggregate Analyze telemetry metrics. Add regressions and recovery documentation for version 0.261.305. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Paul Lizer (paullizer)
merged commit Oct 8, 2026
817f9dd
into
microsoft:paullizer-react-v2-ui
11 checks passed
13 of 24 tasks
Paul Lizer (paullizer)
added a commit
to paullizer/simplechat
that referenced
this pull request
Oct 9, 2026
V2 moved past e1657ef before the push. Merged with rerere off; no conflicts. config.py carries the same 0.261.305 line on both sides, and functions_saved_analysis.py merges independent hunks. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Paul Lizer (paullizer)
added a commit
to paullizer/simplechat
that referenced
this pull request
Oct 9, 2026
V2 reached 0.261.305 with microsoft#1726 (817f9dd) before the push, so this branch takes V2 tip+1. Renumbers only this branch's own 0.261.305 references (the same 30 lines in 15 files that 90947b2 set); microsoft#1726's own 0.261.305 references are untouched. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
14 of 24 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hdi_isfolder=trueentries inside both affected live workflow cleanup scopes.completion_tokensandxml_schema_source_counttelemetry fields so telemetry does not fail Analyze runs.This targets the workspace-selected
paullizer-react-v2-uiintegration branch. Nothing has been deployed or deleted from production. After deployment, retry Delete on partially deleted workflows; Cancel cannot restore their tombstoned runtime. No schema migration or new setting is required.Linked issue
N/A. The user declined issue creation.
Release Notes & Latest Features
Is this visible to end users?
Is this admin-facing (Admin Settings, governance, deployment, config)?
Should this become a Latest Feature card?
Screenshot needed for the card?
Version bump
application/single_app/config.pyVERSIONthird segment bumped, or not needed because this is docs-onlydeployers/version.txtbumped, or not needed becausedeployers/was not changedApplication version:
0.261.304->0.261.305. No deployer changes.Testing / validation
Python commands used an isolated Python 3.12 validation environment (
$python) with repository-pinned Flask/Werkzeug and a compatible OpenSSL dependency.$env:PYTHONPATH="$PWD\application\single_app;$PWD\functional_tests"was set. The shared Python installation was not changed.& $python -m pytest -q functional_tests\test_workflow_result_store.py functional_tests\test_workflow_delete_recovery_routes.py functional_tests\test_saved_analysis_service.py functional_tests\test_group_workflow_fixture_parity.py functional_tests\test_workflow_saved_results_container_access.py functional_tests\test_workflow_run_history_source_recheck_fix.py functional_tests\route_tests\test_workflow_repeat_policy.py -p no:cacheprovider --tb=short- 211 passed, 112 subtests passed.& $python -m pytest -q functional_tests\test_mixed_source_hardening.py functional_tests\test_workflow_cancellation.py -k 'telemetry or request_persists or early_cancellation or deleting_workflow or durable_runtime_conflicts or cancellation_contracts' -p no:cacheprovider --tb=short- 8 passed, 21 deselected.& $python -m pytest -q functional_tests\test_log_injection_codeql_alerts_fix.py -p no:cacheprovider --tb=short- 44 passed, including cold imports.node --test functional_tests\test_v2_workflow_run_action_clients.mjs- 14 passed.& $python functional_tests\route_tests\test_route_blueprint_policy_inventory.py- 14/14 passed.& $python functional_tests\route_tests\test_route_unauthenticated_policy_contract.py- 9/9 passed.& $python functional_tests\route_tests\test_route_policy_test_coverage.py- 3/3 passed.& $python functional_tests\test_docs_app_surface_coverage.py- 7/7 passed, inventory current.& $python functional_tests\test_docs_site_quality.py- 6/6 passed.git -c core.whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol --no-pager diff --cached --check- passed.An optimized-Python probe also confirmed the new telemetry test still executes its emitters with assertions disabled. Read-only live storage diagnostics verified directory markers and zero size in both listings and fresh property reads; no payloads were read or objects changed.
Known baseline failures:
& $python -m pytest -q functional_tests\test_mixed_source_hardening.py functional_tests\test_workflow_cancellation.py -p no:cacheprovider --tb=shortproduced 19 passed, 10 failed. The same ten failures were reproduced before this fix. They involve stale AST harness dependencies, missing Azure configuration, and older evidence/runner expectations; they are documented and not reported as passing.Documentation
Added
docs/explanation/fixes/WORKFLOW_DELETE_HNS_DIRECTORY_FIX.md; updated durable-execution documentation and workflow troubleshooting guidance. Release-note approval was requested, but the user was unavailable, so release notes remain unchanged.Security checklist
@swagger_route(security=get_auth_security())sanitize_settings_for_user()No new routes, settings responses, or browser assets were introduced. Existing personal ownership and group management checks remain intact.