Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix /jobs endpoint's return #23623

Closed
wants to merge 3 commits into from
Closed

Conversation

jfindlay
Copy link
Contributor

This is an attempt to merge #22857. I think I've isolated the cause of the ImmutableDict error to the changes to master.py in this commit, f923dea. The changes to client/mixins.py in the same commit also cause an ImmutableDict error in the test runner logs, but the integration.wheel.client.WheelModuleTest.test_cmd_async test actually succeeds. This commit, ac94683, is the best I can do so far to get the wheel test to pass.

@jacksontj, @s0undt3ch

@jfindlay jfindlay added Pending-Discussion The issue or pull request needs more discussion before it can be closed or merged Master Change labels May 12, 2015
The /jobs endpoint apparently has a very odd return type.

This fixes an issue found in Lothiraldan/saltpad#40
There was a patch (0d6691a) to add job returns to runners, but in so doing made syndics actually call "save_load" for each and every minion return. After looking through the code, the call paths aren't the same at all-- so IMO it doesn't make sense to consolidate these into a single function. This breaks them back out and fixes the sporratic "ExtraData" errors from msgpack.
This will help in the case where save_load is called multiple times. Although we cannot "merge" we can ensure that the one that is on disk is one of them-- not a mix of them.
jfindlay added a commit to jfindlay/salt that referenced this pull request May 28, 2015
This commit is to be reverted when saltstack#23623 is merged.
jfindlay added a commit to jfindlay/salt that referenced this pull request May 28, 2015
This commit is to be reverted when saltstack#23623 is merged.
jfindlay added a commit to jfindlay/salt that referenced this pull request May 28, 2015
This commit is to be reverted when saltstack#23623 is merged.
jfindlay added a commit to jfindlay/salt that referenced this pull request May 28, 2015
This commit is to be reverted when saltstack#23623 is merged.
jfindlay added a commit to jfindlay/salt that referenced this pull request May 28, 2015
This commit is to be reverted when saltstack#23623 is merged.
@jfindlay jfindlay added Core relates to code central or existential to Salt Salt-API labels Jun 3, 2015
@cachedout
Copy link
Contributor

Go Go Jenkins!

@cachedout
Copy link
Contributor

Since work is not being currently done on this, I am closing it for the time being. When this is ready, please re-open it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core relates to code central or existential to Salt Pending-Discussion The issue or pull request needs more discussion before it can be closed or merged Salt-API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants