Closed Bug 1413631 Opened 8 years ago Closed 4 years ago

Expose present field in listArtifacts method

Categories

(Taskcluster :: Services, enhancement, P5)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jhford, Unassigned)

References

Details

We should show whether the present field is true or false, then update tools.tc.net to highlight incomplete artifacts
John, is this a bug you could mentor?
Flags: needinfo?(jhford)
I can help with exposing that field in the api, but I think Hassan or Eli would be a better mentor for the tools.tc.net changes required.
Flags: needinfo?(jhford)
Flags: needinfo?(helfi92)
Flags: needinfo?(eperelman)
Sounds good. Let me know when the fields have been exposed and ready to be displayed in the UI.
Flags: needinfo?(helfi92)
Sounds simple as long as the data is there. Which tool would this be going in?
Flags: needinfo?(eperelman)
Definitely in the unified inspector, and maybe also in the index browser.
Wouldn't it be better to filter out blob artifacts that have "present: false"? We can only do this filtering for storageType: 'blob', But long-term we only want storageType: 'blob', anyways. And I would argue we don't want users to consider artifacts as entities that can be present or not :) ie. this would introduce a new concept users have to related to. Namely: an artifact being present or not. In the ideal world where we only have storageType: 'blob', people shouldn't know about artifacts that are not present. Or perhaps such artifacts should be presented as 'error' artifacts. That might help debugging workers.
How do you feel about filtering blob artifacts based on "present" instead?
Flags: needinfo?(jhford)
I think that being able to see that an artifact was created but not completed is very useful when debugging a problem. It'd show that if things aren't working as expected, a likely cause is that an upload didn't complete.
Flags: needinfo?(jhford)
Priority: -- → P5
Component: Queue → Services
Blocks: 1585578

With the object-service, we don't track presence in the artifact, but the object doesn't "exist" until it's been completely uploaded. So this will appear as an artifact with an object that 404's.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.