Skip to content

Fix group workflow schedule saves from chat; 250 more listed tests pass - #1990

Merged
Paul Lizer (paullizer) merged 2 commits into
microsoft:Developmentfrom
paullizer:claude/known-failures-batch-3
Nov 30, 2026
Merged

Paul Lizer (paullizer) merged 2 commits into
microsoft:Developmentfrom
paullizer:claude/known-failures-batch-3

Conversation

@paullizer

@paullizer Paul Lizer (paullizer) commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

App fix: group workflows created in chat can be saved with a schedule. Since the V2 merge, build_group_workflow_document passed orchestration=True to the shared _normalize_schedule helper, which never accepted it. So every save of a chat-created group workflow on an interval or file-sync schedule raised a TypeError, both at creation and on later saves. It now calls the helper the same way the personal save does. See docs/explanation/fixes/GROUP_WORKFLOW_ORCHESTRATION_SCHEDULE_FIX.md.

Known failures, batch 3 (orchestration and workflow tests): 1,506 → 1,256 entries.

  • The render, resume and document tests ran with the default-on chat completeness check. That check asks a verification model the scripted model doesn't answer, so every run ended as failed. Their shared fixture now turns it off, as the other orchestration fixtures already do.
  • The output cleanup tests passed raw in-memory Cosmos reads (CosmosDict) to the output store. Production drops that wrapper first (_document_response), and the tests now do the same. The app is unchanged here.
  • The reference authorizer stubs now lie over the real modules (overlay_real_modules).
  • The conversation route fake model:
    • answers answer_model_persona_enabled
    • carries the model scope
    • accepts the run route's after hook
    • recognizes the planner prompt by the sections offered for the request

VERSION 0.261.498, with release notes.

Testing

  • All 171 test files that select_tests.py picks for this change were run with the list active. All pass. Two slow import tests timed out under local load (900 s) and pass when run alone (11 and 10 minutes).
  • Cosmos boundary review: 0 gaps. The 12 functions_group_workflows.py owners were re-recorded for module hash only.
  • scripts/prune_known_failures.py misread failures of tests whose parameters contain spaces (such as [normal Python]) as passes, and removed six entries that still fail; CI caught them. It now reads those ids, keeps a file's entries when it meets a failure line it cannot read, and the six entries are back.
  • Shrink-only guard: 250 removed, no new entries. Test headers are clean.

🤖 Generated with Claude Code

Group workflows created in chat could not be saved with an interval or
file-sync schedule: the group save passed orchestration=True to the
shared schedule helper, which never accepted it. It now calls the helper
the same way the personal save does.

Test fixes that clear 256 known-failures entries (1,506 -> 1,250):
- The render fixture turns off the default-on chat completeness check,
  which asked a verification model the scripted model does not answer.
- Output cleanup tests drop the CosmosDict wrapper from in-memory reads,
  as production does through _document_response.
- The reference world overlays its stubs on the real modules.
- The conversation route fake model answers answer_model_persona_enabled,
  carries the model scope, accepts the after hook and recognizes the
  planner prompt by the sections offered for the request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
prune_known_failures.py read failure lines with \S+?, so a test id such as
"[normal Python]" did not match and its failing test counted as passing. Six
entries were removed that way and failed CI. The id now takes bracketed
parameters with spaces, a failure line it cannot read keeps the file's entries,
and the six entries are back (1,256 listed, 250 removed in this branch).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@paullizer Paul Lizer (paullizer) changed the title Fix group workflow schedule saves from chat; 256 more listed tests pass Fix group workflow schedule saves from chat; 250 more listed tests pass Nov 30, 2026
@paullizer
Paul Lizer (paullizer) merged commit f43febd into microsoft:Development Nov 30, 2026
21 checks passed
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