Skip to content

An interrupted first refresh of an older imported job gives a gone document's trial name to another #431

In review

Description

@harenome

Priority

P2 · Planned: limited in scope, has a way around it, or a missing feature
Needs a job converted before #404, a cut-short first refresh and a same-name newcomer.

Evidence

ATIF: newcomer a__b.json takes trial a__b, which was a/b.json's.
OpenTelemetry: a new trace takes agent_run__abcdef1, a gone trace's name.

Reproduction

  1. Convert a tree with a/b.json and c.json; remove trial_documents from the job's config.json, as before fix(runs): give each imported document a trial of its own, never renaming one already there #404.
  2. Remove a/b.json. Refresh, failing the write of config.json: folder a__b is already pruned.
  3. Refresh again, then add a__b.json and refresh.

Expected

a__b stays reserved for a/b.json; the newcomer takes the longer name.

Acceptance

  • A gone trial's folder is pruned only after config.json reserves its name, in the ATIF and OpenTelemetry importers
  • The existing conversion tests cover a first refresh cut short before config.json

Related

#404

Activity

  1. added
    bug
    P2
    on Nov 25, 2026
  2. added theissue type on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2bug

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions