Skip to content

fix(schedule): identify unresolved task references individually - #1271

Open
DivyamTalwar wants to merge 1 commit into
Tencent:mainfrom
DivyamTalwar:fix/schedules-show-missing-references
Open

DivyamTalwar wants to merge 1 commit into
Tencent:mainfrom
DivyamTalwar:fix/schedules-show-missing-references

Conversation

@DivyamTalwar

Copy link
Copy Markdown

What changed

Refs #1214.

Deleting an issue referenced by an independent AI schedule caused the schedule list to discard the resolved labels for every reference. Editing the schedule showed raw IDs for the surviving assets and gave the user no clear way to remove the deleted reference.

Resolve each reference individually for display. The list keeps the current name for available assets and marks unresolved entries with a read-only unavailable flag. The prompt editor displays those entries as removable chips and keeps the prompt text when removing a chip.

Scope

  • Platform core / API / runner

Compatibility

The unavailable flag is additive and omitted for available references. Scheduled execution still validates all references before calling an assistant. Published subscription version behavior is tracked separately in #1214.

Validation

  • Reproduced the list failure after deleting a real issue in a test database and renaming the surviving issue. The API test now verifies both the current name and the unavailable marker.
  • Reproduced the missing removal action in the mounted prompt editor. The new test verifies removing only the unavailable link and preserving the prompt.
  • Targeted Go schedule/reference tests, API documentation tests, and go vet -p=2 ./internal/httpapi passed.
  • The Node 22 chatbot build and all 485 chatbot tests passed.
  • git diff --check, python3 scripts/check-public.py, and Gitleaks 8.30.1 on the candidate tracked files passed.
  • Full Go suite and public browser acceptance remain pending for this branch.

Safety

  • No credentials, internal endpoints, production data, or organization-specific infrastructure.
  • Existing files and unrelated changes preserved.

Codex assisted with implementation and tests. I verified both regressions on upstream and the passing checks on this branch.

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